通过


TabletDeviceCollection.Count 属性

定义

获取集合中的对象数 TabletDevice

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

属性值

集合中的对象数 TabletDevice

实现

示例

下面的示例演示了该 Count 属性。

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

适用于