Export (0) Print
Expand All

HttpSessionState Methods

The HttpSessionState type exposes the following members.

  NameDescription
Public method Abandon Cancels the current session.
Public method Add Adds a new item to the session-state collection.
Public method Clear Removes all keys and values from the session-state collection.
Public method CopyTo Copies the collection of session-state values to a one-dimensional array, starting at the specified index in the array.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that can be used to read all the session-state variable names in the current session.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Deletes an item from the session-state collection.
Public method RemoveAll Removes all keys and values from the session-state collection.
Public method RemoveAt Deletes an item at a specified index from the session-state collection.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft