TabletDeviceCollection.Count Eigenschap

Definitie

Hiermee haalt u het aantal TabletDevice objecten in de verzameling op.

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

Waarde van eigenschap

Het aantal TabletDevice objecten in de verzameling.

Implementeringen

Voorbeelden

In het volgende voorbeeld ziet u de Count eigenschap.

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

Van toepassing op