Edit

Share via


HttpSessionState.RemoveAt(Int32) Method

Definition

Deletes an item at a specified index from the session-state collection.

public:
 void RemoveAt(int index);
public void RemoveAt (int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

Parameters

index
Int32

The index of the item to remove from the session-state collection.

Exceptions

index is less than zero.

-or-

index is equal to or greater than Count.

Applies to

See also