TabletDeviceCollection.Count Egenskap

Definition

Hämtar antalet TabletDevice objekt i samlingen.

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

Egenskapsvärde

Antalet TabletDevice objekt i samlingen.

Implementeringar

Exempel

I följande exempel visas egenskapen Count .

// Get the number of tablet devices
int numTabletDevices = myTabletDeviceCollection.Count;
'  Get the number of tablet devices
Dim numTabletDevices As Integer = myTabletDeviceCollection.Count

Gäller för