Vector::SetAt Method

This topic has not yet been rated - Rate this topic

Assigns the specified value to the element in the current Vector that is identified by the specified index.


virtual void SetAt(
   unsigned int index, 
   T item
);

index

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

item

The value to assign to the specified element. The type of item is defined by the T typename.

Header: collection.h

Namespace: Platform::Collections

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.