Export (0) Print
Expand All

SessionStateItemCollection Methods

The SessionStateItemCollection type exposes the following members.

  Name Description
Public method Clear Removes all values and keys from the session-state collection.
Public method Static member Deserialize Creates a SessionStateItemCollection collection from a storage location that is written to using the Serialize method.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that can be used to read all the key names in the collection. (Overrides NameObjectCollectionBase.GetEnumerator().)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetObjectData Implements the ISerializable interface and returns the data needed to serialize the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method OnDeserialization Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. (Inherited from NameObjectCollectionBase.)
Public method Remove Deletes an item from the collection.
Public method RemoveAt Deletes an item at a specified index from the collection.
Public method Serialize Writes the contents of the collection to a BinaryWriter.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Public Extension Method AsParallel() Overloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsParallel() Overloaded. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable() Overloaded. Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method AsQueryable() Overloaded. (Defined by Queryable.)
Public Extension Method Cast<TResult>() Overloaded. Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method Cast<TResult>() Overloaded. (Defined by Enumerable.)
Public Extension Method OfType<TResult>() Overloaded. Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Public Extension Method OfType<TResult>() Overloaded. (Defined by Enumerable.)
Top

  Name Description
Explicit interface implemetation Private method ICollection.CopyTo Copies the entire NameObjectCollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from NameObjectCollectionBase.)
Top
Show:
© 2014 Microsoft