Tablet.TabletDevices Eigenschap
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Hiermee haalt u de TabletDeviceCollection gekoppelde aan het systeem op.
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
Waarde van eigenschap
De TabletDeviceCollection gekoppelde aan de Tablet PC.
- Kenmerken
Voorbeelden
In het volgende voorbeeld ziet u de TabletDeviceCollection eigenschap.
// 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