Tablet.TabletDevices Свойство

Определение

Получает объект TabletDeviceCollection, связанный с данной системой.

public:
 static property System::Windows::Input::TabletDeviceCollection ^ TabletDevices { System::Windows::Input::TabletDeviceCollection ^ get(); };
public static System.Windows.Input.TabletDeviceCollection TabletDevices { [System.Security.SecurityCritical] get; }
public static System.Windows.Input.TabletDeviceCollection TabletDevices { get; }
[<get: System.Security.SecurityCritical>]
static member TabletDevices : System.Windows.Input.TabletDeviceCollection
static member TabletDevices : System.Windows.Input.TabletDeviceCollection
Public Shared ReadOnly Property TabletDevices As TabletDeviceCollection

Значение свойства

Объект TabletDeviceCollection, связанный с данным планшетным ПК.

Атрибуты

Примеры

В следующем примере демонстрируется TabletDeviceCollection свойство .

// Get the TabletDevice objects
TabletDeviceCollection myTabletDeviceCollection = Tablet.TabletDevices;

// Display the types of TabletDevices            
foreach (TabletDevice td in myTabletDeviceCollection)
{
    Console.WriteLine(td.Type);
}
'  Get the TabletDevice objects
Dim myTabletDeviceCollection As TabletDeviceCollection = Tablet.TabletDevices

' Display the types of TabletDevices
Dim td As TabletDevice

For Each td In myTabletDeviceCollection
    Console.WriteLine(td.Name)
Next

Применяется к