Partilhar via


TabletDeviceCollection.Count Propriedade

Definição

Obtém o número de TabletDevice objetos na coleção.

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

Valor da propriedade

O número de TabletDevice objetos na coleção.

Implementações

Exemplos

O exemplo a seguir demonstra a Count propriedade.

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

Aplica-se a