HttpApplicationStateWrapper.Get Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a state object by name or index.
Overloads
Get(Int32) |
Returns a state object by index. |
Get(String) |
Returns a state object by name. |
Get(Int32)
Returns a state object by index.
public:
override System::Object ^ Get(int index);
public override object Get (int index);
override this.Get : int -> obj
Public Overrides Function Get (index As Integer) As Object
Parameters
- index
- Int32
The index of the application state object to get.
Returns
The object referenced by index
.
Exceptions
index
is outside the valid range of indexes for the collection.
Applies to
Get(String)
Returns a state object by name.
public:
override System::Object ^ Get(System::String ^ name);
public override object Get (string name);
override this.Get : string -> obj
Public Overrides Function Get (name As String) As Object
Parameters
- name
- String
The name of the object to get.
Returns
The object referenced by name
, if found; otherwise, null
.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.