SiteMapNodeCollection.RemoveAt(Int32) 메서드

정의

컬렉션의 SiteMapNode 지정된 인덱스에 있는 개체를 제거합니다 SiteMapNodeCollection .

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

매개 변수

index
Int32

제거할 요소의 인덱스(0부터 시작)입니다.

예외

index가 0보다 작은 경우

또는 indexCount보다 큰 경우

SiteMapNodeCollection이 읽기 전용인 경우

또는 SiteMapNodeCollection의 크기가 고정되어 있는 경우

설명

테스트할 수 있는지 여부를 SiteMapNodeCollection 컬렉션 읽기 전용인 지 확인 하 여를 IsReadOnly 속성.

요소를 제거 하는 SiteMapNodeCollection 를 지정 하 여는 SiteMapNode 개체 제거를 사용 하 여는 Remove 메서드.

적용 대상

추가 정보