HttpApplicationState.AllKeys Egenskap

Definition

Hämtar åtkomstnycklarna HttpApplicationState i samlingen.

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

Egenskapsvärde

String[]

En strängmatris med HttpApplicationState objektnamn.

Exempel

I följande exempel fylls en strängmatris med alla objektnamn i programtillståndssamlingen.

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

Gäller för