OutputCacheProfileCollection.GetKey(Int32) Método

Definición

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)

Se aplica a

Consulte también