IHttpSessionState.RemoveAt(Int32) 메서드

정의

세션 상태 항목 컬렉션에서 지정된 인덱스의 항목을 삭제합니다.

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

매개 변수

index
Int32

세션 상태 컬렉션에서 제거할 항목의 인덱스입니다.

예제

다음 코드 예제에서는 내부 세션 상태 항목 컬렉션에서 숫자 인덱스 RemoveAt 로 세션 상태 항목을 삭제 하는 인터페이스의 메서드 IHttpSessionState 를 구현 합니다.

public void RemoveAt(int index)
{
  pSessionItems.RemoveAt(index);
}
Public Sub RemoveAt(index As Integer) Implements IHttpSessionState.RemoveAt    
  pSessionItems.RemoveAt(index)
End Sub

적용 대상

추가 정보