HttpApplicationState.AllKeys Eigenschap

Definitie

Hiermee haalt u de toegangssleutels op in de HttpApplicationState verzameling.

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()

Waarde van eigenschap

String[]

Een tekenreeksmatrix met HttpApplicationState objectnamen.

Voorbeelden

In het volgende voorbeeld wordt een tekenreeksmatrix gevuld met alle objectnamen in de verzameling met toepassingsstatussen.

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

Van toepassing op