Vector::InsertAt Method

Vector::InsertAt Method

 

Inserts the specified item into the current Vector after the element identified by the specified index.


virtual void InsertAt(
   unsigned int index, 
   T item)

index

A zero-based, unsigned integer that specifies a particular element in the Vector object.

item

An item to insert into the Vector after the element specified by index. The type of item is defined by the T typename.

Requirements

Header: collection.h

Namespace: Platform::Collections

Show:
© 2016 Microsoft