OutputCacheProfileCollection.GetKey(Int32) 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.
Anahtarı belirtilen OutputCacheProfileCollection dizinde alır.
public:
System::String ^ GetKey(int index);
public string GetKey(int index);
member this.GetKey : int -> string
Public Function GetKey (index As Integer) As String
Parametreler
- index
- Int32
OutputCacheProfileCollection Anahtarın dizini.
Döndürülenler
Belirtilen OutputCacheProfileCollection dizine sahip anahtar.
Örnekler
Aşağıdaki kod örneği, GetKey yönteminin nasıl kullanılacağını gösterir.
// Get the key with the specified index.
string theKey = outputCacheProfiles.GetKey(0).ToString();
' Get the key with the specified index.
Dim theKey As String = _
outputCacheProfiles.GetKey(0)