OutputCacheProfileCollection.GetKey(Int32) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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)