다음을 통해 공유


EventDescriptorCollection.Insert(Int32, EventDescriptor) 메서드

정의

컬렉션에 EventDescriptor 지정된 인덱스를 삽입합니다.

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

매개 변수

index
Int32

매개 변수를 삽입할 컬렉션 내의 인덱스입니다 value .

value
EventDescriptor

EventDescriptor 컬렉션에 삽입할 항목입니다.

예외

컬렉션이 읽기 전용입니다.

설명

메모

이 클래스에 적용된 특성에는 HostProtectionAttribute 다음과 같은 Resources 속성 값 Synchronization이 있습니다. 데스크톱 애플리케이션에는 HostProtectionAttribute 영향을 주지 않습니다(일반적으로 아이콘을 두 번 클릭하거나 명령을 입력하거나 브라우저에서 URL을 입력하여 시작됨). 자세한 내용은 클래스 또는 SQL Server 프로그래밍 및 호스트 보호 특성을 참조 HostProtectionAttribute 하세요.

적용 대상