HttpApplicationState::Item Property (String^)
.NET Framework (current version)
Gets the value of a single HttpApplicationState object by name.
Assembly: System.Web (in System.Web.dll)
public: property Object^ default[ String^ name ] { Object^ get(String^ name); void set(String^ name, Object^ value); }
Parameters
- name
-
Type:
System::String^
The name of the object in the collection.
The following example returns an object named MyAppVar1 from the HttpApplicationState collection of the intrinsic Application object and copies it to a new object variable.
.NET Framework
Available since 1.1
Available since 1.1
Show: