TabletDeviceCollection.Count 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取集合中的对象数 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