CodeTypeReferenceCollection.Insert(Int32, CodeTypeReference) 메서드

정의

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

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

매개 변수

index
Int32

항목을 삽입해야 하는 인덱스(0부터 시작)입니다.

value
CodeTypeReference

삽입할 항목입니다 CodeTypeReference .

예제

// Inserts a CodeTypeReference at index 0 of the collection.
collection.Insert( 0, new CodeTypeReference(typeof(bool)) );
' Inserts a CodeTypeReference at index 0 of the collection.
collection.Insert(0, New CodeTypeReference(GetType(Boolean)))

적용 대상

추가 정보