Uređivanje

Dijeli putem


SessionStateItemCollection.RemoveAt(Int32) Method

Definition

Deletes an item at a specified index from the collection.

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

Parameters

index
Int32

The index of the item to remove from the collection.

Implements

Exceptions

index is less than zero.

-or-

index is equal to or greater than Count.

Remarks

If the SessionStateItemCollection collection does not contain an element with the specified name, the collection remains unchanged. No exception is thrown.

Applies to

See also