HttpApplicationState.AllKeys Propriedade
Definição
Obtém as chaves de acesso na coleção HttpApplicationState.Gets the access keys in the HttpApplicationState collection.
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[]
Uma matriz de cadeia de caracteres de HttpApplicationState nomes de objetos.A string array of HttpApplicationState object names.
Exemplos
O exemplo a seguir preenche uma matriz de cadeia de caracteres com todos os nomes de objeto na coleção de estado do aplicativo.The following example fills a string array with all the object names in the application state collection.
String[] StateVars = new String[Application.Count];
StateVars = Application.AllKeys;
Dim StateVars(Application.Count) As String
StateVars = Application.AllKeys