Windows Dev Center

end Function

Returns an iterator that points beyond the end of a collection that is accessed by the specified interface parameter.

template <typename T>
        IVector<T>^ v

template <typename T>
        IVectorView<T>^ v
template <typename T> 
        IIterable<T>^ i


A template type parameter.


A collection of Vector<T> or VectorView<T> objects that are accessed by an IVector<T>, or IVectorView<T> interface.


A collection of arbitraty Windows Runtime objects that are accessed by an IIterable<T> interface.

An iterator that points beyond the end of the collection.

The first two template functions return iterators, and the third template function returns an input iterator.

The Platform::Collections::VectorViewIterator object that is returned by end is a proxy iterator that stores elements of type VectorProxy<T>. However, the proxy object is almost never visible to user code. For more information, see Collections (C++/CX).

Header: collection.h

Namespace: Windows::Foundation::Collections

© 2015 Microsoft