HttpApplicationStateWrapper::Item Property (String^)

 

Gets a state object by name.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
property Object^ default[
	String^ name
] {
	virtual Object^ get(String^ name) override;
	virtual void set(String^ name, Object^ value) override;
}

Parameters

name
Type: System::String^

The name of the object in the collection.

Property Value

Type: System::Object^

The object referenced by name, if found; otherwise, null.

.NET Framework
Available since 3.5
Return to top
Show: