OutputCacheProfileCollection.GetKey(Int32) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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)