OutputCacheProfileCollection.GetKey(Int32) Methode

Definition

Ruft den Schlüssel am angegebenen OutputCacheProfileCollection Index ab.

public:
 System::String ^ GetKey(int index);
public string GetKey(int index);
member this.GetKey : int -> string
Public Function GetKey (index As Integer) As String

Parameter

index
Int32

Der OutputCacheProfileCollection Index des Schlüssels.

Gibt zurück

Der Schlüssel mit dem angegebenen OutputCacheProfileCollection Index.

Beispiele

Das folgende Codebeispiel zeigt, wie die GetKey Methode verwendet wird.

// 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)

Gilt für:

Weitere Informationen