OutputCacheProfileCollection.Get Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belirtilen OutputCacheProfileCollection öğeyi alır.
Aşırı Yüklemeler
| Name | Description |
|---|---|
| Get(Int32) |
OutputCacheProfile Belirtilen dizindeki öğesini alır. |
| Get(String) |
OutputCacheProfile Belirtilen ada sahip öğesini alır. |
Get(Int32)
OutputCacheProfile Belirtilen dizindeki öğesini alır.
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
Parametreler
- index
- Int32
öğesinin OutputCacheProfileCollection dizini.
Döndürülenler
OutputCacheProfile Belirtilen dizindeki öğesi.
Örnekler
Aşağıdaki kod örneği, Get yönteminin nasıl kullanılacağını gösterir.
// 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")
Ayrıca bkz.
Şunlara uygulanır
Get(String)
OutputCacheProfile Belirtilen ada sahip öğesini alır.
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
Parametreler
- name
- String
öğesinin OutputCacheProfileCollection adı.
Döndürülenler
OutputCacheProfile Belirtilen ada sahip öğe.
Örnekler
Aşağıdaki kod örneği, Get yönteminin nasıl kullanılacağını gösterir.
// 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")