OutputCacheProfileCollection.Get メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した 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
返品
指定した名前の 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")