TabletDeviceCollection.Count Właściwość

Definicja

Pobiera liczbę TabletDevice obiektów w kolekcji.

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

Wartość właściwości

Liczba TabletDevice obiektów w kolekcji.

Implementuje

Przykłady

W poniższym przykładzie pokazano Count właściwość .

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

Dotyczy