UIElementCollection.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 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
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.