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.
Applies to
See also
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro