ItemCollection.InsertAt(UInt32, Object) Método

Definición

Inserta el elemento especificado en el índice especificado.

public:
 virtual void InsertAt(unsigned int index, Platform::Object ^ value) = IVector<Platform::Object ^>::InsertAt;
void InsertAt(uint32_t const& index, IInspectable const& value);
public void InsertAt(uint index, object value);
function insertAt(index, value)
Public Sub InsertAt (index As UInteger, value As Object)

Parámetros

index
UInt32

unsigned int

uint32_t

Índice en el que se va a establecer el valor.

value
Object

Platform::Object

IInspectable

Valor que se va a establecer.

Implementaciones

M:Windows.Foundation.Collections.IVector1.InsertAt(System.UInt32,0) M:Windows.Foundation.Collections.IVector1.InsertAt(unsigned int,0) M:Windows.Foundation.Collections.IVector1.InsertAt(uint32_t,0)

Comentarios

InsertAt expande la colección y mueve todos los elementos de índice subsiguientes por uno.

Se aplica a