OutputCacheProfileCollection.GetKey(Int32) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Obtiene la clave en el índice especificado 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
Parámetros
- index
- Int32
Índice OutputCacheProfileCollection de la clave.
Devoluciones
Clave con el índice especificado OutputCacheProfileCollection .
Ejemplos
En el ejemplo de código siguiente se muestra cómo usar el GetKey método .
// 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)