IVectorView<T>.Size Property

Definition

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

UInt32

unsigned int

uint32_t

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