Compartilhar via


DivisionUnits.Count Property

DivisionUnits.Count Property

Gets the number of DivisionUnit objects contained in the DivisionUnits collection.

Definition

Visual Basic .NET Public ReadOnly Property Count As Integer
C# public int Count { get; }
Managed C++ public: __property int* get_Count();

Property Value

System.Int32. The number of DivisionUnit objects contained in the DivisionUnits collection.

This property is read-only. This property has no default value.

Examples

[C#]

This C# example finds the number of DivisionUnit objects within a DivisionUnits collection, theDivisionUnits.

int theCount = theDivisionUnits.Count;

[Visual Basic .NET]

This Microsoft® Visual Basic® .NET example finds the number of DivisionUnit objects within a DivisionUnits collection, theDivisionUnits.

Dim theCount As Integer = theDivisionUnits.Count

See Also