CodeTypeReferenceCollection.Insert(Int32, CodeTypeReference) Methode

Definitie

Hiermee voegt u een CodeTypeReference in de verzameling in de opgegeven index in.

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)

Parameters

index
Int32

De op nul gebaseerde index waarin het item moet worden ingevoegd.

value
CodeTypeReference

De CodeTypeReference te invoegen.

Voorbeelden

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

Van toepassing op

Zie ook