HttpSessionState.RemoveAt(Int32) 方法

定义

删除会话状态集合中指定索引处的项。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)

参数

index
Int32

要从会话状态集合中移除的项的索引。The index of the item to remove from the session-state collection.

异常

index 小于零。index is less than zero.

-or- index 等于或大于 Countindex is equal to or greater than Count.

适用于

另请参阅