SiteMapNodeCollection.Insert(Int32, SiteMapNode) 메서드

정의

지정된 SiteMapNode 개체를 컬렉션의 지정된 인덱스에 삽입합니다.

public:
 virtual void Insert(int index, System::Web::SiteMapNode ^ value);
public virtual void Insert (int index, System.Web.SiteMapNode value);
abstract member Insert : int * System.Web.SiteMapNode -> unit
override this.Insert : int * System.Web.SiteMapNode -> unit
Public Overridable Sub Insert (index As Integer, value As SiteMapNode)

매개 변수

index
Int32

SiteMapNode를 삽입할 인덱스(0부터 시작)입니다.

value
SiteMapNode

삽입할 SiteMapNode입니다.

예외

index가 0보다 작은 경우

또는 indexCount보다 큰 경우

SiteMapNodeCollection이 읽기 전용인 경우

또는 SiteMapNodeCollection가 고정 크기입니다.

value이(가) null인 경우

설명

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

적용 대상

추가 정보