IVectorView<T> interface
Represents an immutable view into a vector.
.NET: This interface appears as System.Collections.Generic.IReadOnlyList<T>.
Syntax
generic<typename T> public interface class IVectorView : IIterable<T>
Attributes
- [Version(0x06020000)]
Type parameters
- T
-
The type of the values in the vector.
Members
The IVectorView interface inherits from IIterable(T). IVectorView also has these types of members:
Methods
The IVectorView interface has these methods. It also inherits methods from the Object class.
| Method | Description |
|---|---|
| GetAt | Returns the item at the specified index in the vector view. |
| GetMany | Retrieves the items that start at the specified index in the vector view. |
| IndexOf | Retrieves the index of a specified item in the vector view. |
Properties
The IVectorView interface has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only | Gets the number of items in the vector view. |
Remarks
When building Windows Store apps with the Microsoft .NET Framework, this interface is hidden and developers should use the System.Collections.Generic.IReadOnlyList<T> interface.
Interface inheritance
IVectorView inherits IIterable. Types that implement IVectorView also implement the interface members of IIterable.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
Windows::Foundation::Collections |
|
Metadata |
|
See also
