Compartir vía


OutputCacheProfileCollection.GetKey(Int32) Método

Definición

Obtiene la clave en el índice de OutputCacheProfileCollection especificado.

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 de OutputCacheProfileCollection de la clave.

Devoluciones

String

Clave con el índice de OutputCacheProfileCollection especificado.

Ejemplos

En el ejemplo de código siguiente, se muestra cómo se utiliza el método GetKey.

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