Tablets.Count Property

Tablets.Count Property

Gets the number of Tablet objects contained in the Tablets 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 Tablet objects contained in the Tablets collection.

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

Examples

[C#]

This C# example gets the number of Tablet objects within a Tablets collection, theTablets.

Tablets theTablets = new Tablets();
int theCount = theTablets.Count;

[Visual Basic .NET]

This Microsoft® Visual Basic® .NET example gets the number of Tablet objects within a Tablets collection, theTablets.

Dim theTablets As Tablets = New Tablets()
Dim theCount As Integer = theTablets.Count

See Also