OutputCacheProfileCollection.GetKey(Int32) Metodo

Definizione

Ottiene la chiave in corrispondenza dell'indice specificato 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

Parametri

index
Int32

Indice OutputCacheProfileCollection della chiave.

Valori restituiti

Chiave con l'indice specificato OutputCacheProfileCollection .

Esempio

Nell'esempio di codice seguente viene illustrato come usare il GetKey metodo .

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

Si applica a

Vedi anche