FormsAuthenticationUserCollection.AllKeys Propriedade
Definição
Obtém todas as chaves da coleção.Gets all the collection's keys.
public:
property cli::array <System::String ^> ^ AllKeys { cli::array <System::String ^> ^ get(); };
public string[] AllKeys { get; }
member this.AllKeys : string[]
Public ReadOnly Property AllKeys As String()
Valor da propriedade
- String[]
A string matriz que contém as chaves da coleção.The string array containing the collection keys.
Exemplos
O exemplo de código a seguir mostra como usar a AllKeys propriedade.The following code example shows how to use the AllKeys property.
// Get the collection keys.
object [] keys =
formsAuthenticationCredentials.Users.AllKeys;
' Get the collection keys.
Dim keys As String() = _
formsAuthenticationCredentials.Users.AllKeys
Comentários
Você pode usar esse método para acessar os FormsAuthenticationUser objetos contidos na coleção.You can use this method to access the FormsAuthenticationUser objects contained in the collection.