หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Returns a std::vector whose value is the same as the collection underlying the specified IVector or IVectorView parameter.
Syntax
template <typename T>
inline ::std::vector<T> to_vector(IVector<T>^ v);
template <typename T>
inline ::std::vector<T> to_vector(IVectorView<T>^ v);
Parameters
T
The template type parameter.
v
An IVector or IVectorView interface that provides access to an underlying Vector or VectorView object.
Return Value
Requirements
Header: collection.h
Namespace: Windows::Foundation::Collections