CodeTypeReferenceCollection.Insert(Int32, CodeTypeReference) Método

Definición

Inserta un CodeTypeReference objeto en la colección en el índice especificado.

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)

Parámetros

index
Int32

Índice de base cero donde se debe insertar el elemento.

value
CodeTypeReference

que CodeTypeReference se va a insertar.

Ejemplos

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

Se aplica a

Consulte también