OutputCacheProfileCollection.GetKey(Int32) Yöntem

Tanım

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)

Şunlara uygulanır

Ayrıca bkz.