OutputCacheProfileCollection.Get メソッド

定義

指定した OutputCacheProfileCollection 要素を取得します。

オーバーロード

名前 説明
Get(Int32)

指定したインデックス位置にある OutputCacheProfile 要素を取得します。

Get(String)

指定した名前の OutputCacheProfile 要素を取得します。

Get(Int32)

指定したインデックス位置にある OutputCacheProfile 要素を取得します。

public:
 System::Web::Configuration::OutputCacheProfile ^ Get(int index);
public System.Web.Configuration.OutputCacheProfile Get(int index);
member this.Get : int -> System.Web.Configuration.OutputCacheProfile
Public Function Get (index As Integer) As OutputCacheProfile

パラメーター

index
Int32

OutputCacheProfileCollection要素のインデックス。

返品

指定したインデックス位置にある OutputCacheProfile 要素。

次のコード例は、 Get メソッドの使用方法を示しています。

// Get the profile with the specified name.
System.Web.Configuration.OutputCacheProfile outputCacheProfile4 =
  outputCacheProfiles.Get("MyCacheProfile");
'Get the profile with the specified name.
Dim outputCacheProfile4 _
As System.Web.Configuration.OutputCacheProfile = _
outputCacheProfiles.Get("MyCacheProfile")

こちらもご覧ください

適用対象

Get(String)

指定した名前の OutputCacheProfile 要素を取得します。

public:
 System::Web::Configuration::OutputCacheProfile ^ Get(System::String ^ name);
public System.Web.Configuration.OutputCacheProfile Get(string name);
member this.Get : string -> System.Web.Configuration.OutputCacheProfile
Public Function Get (name As String) As OutputCacheProfile

パラメーター

name
String

OutputCacheProfileCollection要素の名前。

返品

指定した名前の OutputCacheProfile 要素。

次のコード例は、 Get メソッドの使用方法を示しています。

// Get the profile with the specified name.
System.Web.Configuration.OutputCacheProfile outputCacheProfile4 =
  outputCacheProfiles.Get("MyCacheProfile");
'Get the profile with the specified name.
Dim outputCacheProfile4 _
As System.Web.Configuration.OutputCacheProfile = _
outputCacheProfiles.Get("MyCacheProfile")

こちらもご覧ください

適用対象