IVector<T>.GetView Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an immutable view of the vector.
public:
IVectorView<T> ^ GetView();
IVectorView<T> GetView();
public IReadOnlyList<T> GetView();
Public Function GetView () As IReadOnlyList(Of T)
Returns
The view of the vector.
Remarks
When programming with .NET, this interface is hidden, and you should use the System.Collections.Generic.IList<T> interface.
If changes are made to the vector, such as adding, modifying, or deleting elements, then the vector view is permitted to raise an exception for all future operations.