OutputCacheProfileCollection.GetKey(Int32) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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.
Retornos
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)