System.Web.SessionState.SessionStateItemCollection: Method Members

The methods of System.Web.SessionState.SessionStateItemCollection are listed below. For a list of all members, see the SessionStateItemCollection Members list.

See Also: Inherited members from System.Collections.Specialized.NameObjectCollectionBase

Public Methods

Clear()

Removes all values and keys from the session-state collection.

static
Deserialize(System.IO.BinaryReader) : SessionStateItemCollection

Creates a System.Web.SessionState.SessionStateItemCollection collection from a storage location that is written to using the SessionStateItemCollection.Serialize(System.IO.BinaryWriter) method.

override
GetEnumerator() : IEnumerator

Returns an enumerator that can be used to read all the key names in the collection.

Remove(string)

Deletes an item from the collection.

RemoveAt(int)

Deletes an item at a specified index from the collection.

Serialize(System.IO.BinaryWriter)

Writes the contents of the collection to a System.IO.BinaryWriter.