FormsAuthenticationUserCollection.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 da coleção FormsAuthenticationUserCollection 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
O índice na coleção.
Retornos
A chave no índice especificado da FormsAuthenticationUserCollection.
Exemplos
O exemplo de código a seguir mostra como usar o método GetKey.
// Get the key at the specified index.
string thisKey = formsAuthenticationCredentials.Users.GetKey(0).ToString();
' Get the key at the specified index.
Dim thisKey As String = _
formsAuthenticationCredentials.Users.GetKey(0)
Aplica-se a
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.