Represents a read-only view of a sequential collection of objects that can be individually accessed by index. The type of each object in the collection is specified by the template parameter.
template <typename T, typename E> ref class VectorView sealed;
The VectorView class implements the Windows::Foundation::Collections::IVectorView<T> interface, and support for Standard Template Library iterators.
Public Constructors
|
Name |
Description |
|---|---|
|
Initializes a new instance of the VectorView class. |
Public Methods
|
Name |
Description |
|---|---|
|
Returns an iterator that specifies the first element in the VectorView. |
|
|
Retrieves the element of the current VectorView that is indicated by the specified index. |
|
|
Retrieves a sequence of items from the current VectorView, starting at the specified index. |
|
|
Searches for the specified item in the current VectorView, and if found, returns the index of the item. |
|
|
Returns the number of elements in the current VectorView object. |