OutputCacheProfileCollection.GetKey(Int32) Método

Definição

Obtém a chave no í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

O OutputCacheProfileCollection índice da chave.

Devoluções

A chave com o índice especificado OutputCacheProfileCollection .

Exemplos

O exemplo de código a seguir mostra como usar o 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)

Aplica-se a

Ver também