| title | to_vector Function | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 12/30/2016 | |
| ms.technology | cpp-windows | |
| ms.topic | language-reference | |
| f1_keywords |
|
|
| dev_langs |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | 9cdd5123-7243-4def-a1d3-162e0bf6219e | |
| author | mikeblome | |
| ms.author | mblome | |
| ms.workload |
|
Returns a std::vector whose value is the same as the collection underlying the specified IVector or IVectorView parameter.
template <typename T>
inline ::std::vector<T> to_vector(IVector<T>^ v);
template <typename T>
inline ::std::vector<T> to_vector(IVectorView<T>^ v);
T
The template type parameter.
v
An IVector or IVectorView interface that provides access to an underlying Vector or VectorView object.
Header: collection.h
Namespace: Windows::Foundation::Collections