CodeTypeReferenceCollection.Insert(Int32, CodeTypeReference) Metoda

Definice

CodeTypeReference Vloží do kolekce v zadaném indexu.

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)

Parametry

index
Int32

Index založený na nule, do kterého má být položka vložena.

Příklady

// 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)))

Platí pro

Viz také