Dela via


UIElementCollection.Size Property

Definition

Gets the size (count) of the collection.

public:
 property unsigned int Size { unsigned int get(); };
uint32_t Size();
public uint Size { get; }
var uInt32 = uIElementCollection.size;
Public ReadOnly Property Size As UInteger

Property Value

UInt32

unsigned int

uint32_t

The count of items in the collection.

Implements

Remarks

The Size value returns the true number of items. API that use the index, such as GetAt, use a zero-based index, so you would subtract one from Size in order to specify that you want the last item in the collection.

If you are programming using C# or Microsoft Visual Basic, see Count.

Applies to