Tablet.TabletDevices 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得與系統關聯的 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
屬性值
與 Tablet PC 關聯的 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