DirectoryControlCollection.Insert(Int32, DirectoryControl) 메서드

정의

메서드는 Insert(Int32, DirectoryControl) 지정된 인덱스에 지정된 DirectoryControl 개체를 DirectoryControlCollection 삽입합니다.

public:
 void Insert(int index, System::DirectoryServices::Protocols::DirectoryControl ^ value);
public void Insert(int index, System.DirectoryServices.Protocols.DirectoryControl value);
member this.Insert : int * System.DirectoryServices.Protocols.DirectoryControl -> unit
Public Sub Insert (index As Integer, value As DirectoryControl)

매개 변수

index
Int32

개체를 삽입할 컬렉션의 인덱스입니다 DirectoryControl .

value
DirectoryControl

DirectoryControl 컬렉션에 삽입할 개체입니다.

예외

value null 참조입니다(Visual Basic Nothing).

index 가 0보다 작거나 index 개체의 요소 DirectoryControlCollection 수보다 큽니다.

DirectoryControlCollection 가 읽기 전용이거나 DirectoryControlCollection 고정 크기입니다.

적용 대상