OutputCacheProfileCollection.GetKey(Int32) Méthode

Définition

Obtient la clé à l’index spécifié OutputCacheProfileCollection .

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

Paramètres

index
Int32

Index OutputCacheProfileCollection de la clé.

Retours

Clé avec l’index spécifié OutputCacheProfileCollection .

Exemples

L’exemple de code suivant montre comment utiliser la GetKey méthode.

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

S’applique à

Voir aussi