IVectorView<T>.Size Property
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.
Gets the number of items in the vector view.
public:
property unsigned int Size { unsigned int get(); };
uint32_t Size();
public uint Size { get; }
Public ReadOnly Property Size As UInteger
Property Value
The number of items in the vector view.
Remarks
When programming with .NET, this interface is hidden and developers should use the IReadOnlyList<T> interface.
If the underlying collection has changed, the view may throw an exception.
C++/WinRT If the underlying collection has changed, the view may throw a
hresult_changed_state
exception.
C++/CX If the underlying collection has changed, the view may throw a
ChangedStateException
exception.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for