HttpApplicationState.AllKeys Propriedade

Definição

Obtém as chaves de acesso na HttpApplicationState coleção.

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 de Propriedade

String[]

Um conjunto de HttpApplicationState nomes de objetos em cadeia.

Exemplos

O exemplo seguinte preenche um array de strings com todos os nomes dos objetos na coleção de estados da aplicação.

String[] StateVars = new String[Application.Count];
StateVars = Application.AllKeys;
Dim StateVars(Application.Count) As String
StateVars = Application.AllKeys

Aplica-se a