This documentation is archived and is not being maintained.
HttpSessionStateBase Methods
Visual Studio 2008
The HttpSessionStateBase type exposes the following members.
| Name | Description | |
|---|---|---|
|
Abandon | When overridden in a derived class, cancels the current session. |
|
Add | When overridden in a derived class, adds an item to the session-state collection. |
|
Clear | When overridden in a derived class, removes all keys and values from the session-state collection. |
|
CopyTo | When overridden in a derived class, copies the collection of session-state values to a one-dimensional array, starting at the specified index in the array. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetEnumerator | When overridden in a derived class, returns an enumerator that can be used to read all the session-state variable names in the current session. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Remove | When overridden in a derived class, deletes an item from the session-state collection. |
|
RemoveAll | When overridden in a derived class, removes all keys and values from the session-state collection. |
|
RemoveAt | When overridden in a derived class, deletes the item at the specified index from the session-state collection. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
|
Cast | Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
|
OfType | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
Show: