Tablets クラス
システムに接続されたすべてのタブレットのハードウェア固有のプロパティを表す、Tablet オブジェクトを保持します。
名前空間 : Microsoft.Ink
アセンブリ : Microsoft.Ink (Microsoft.Ink.dll 内)
構文
'宣言
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public Class Tablets _
Implements ICollection, IEnumerable
'使用
Dim instance As Tablets
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class Tablets : ICollection, IEnumerable
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = L"FullTrust")]
public ref class Tablets : ICollection,
IEnumerable
/** @attribute PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust") */
public class Tablets implements ICollection,
IEnumerable
public class Tablets implements ICollection, IEnumerable
解説
コレクション内のすべての Tablet オブジェクトの機能に関して、照会を行うことができます。
例
この例では、ListBox オブジェクト listBoxTablets に、システムにアタッチされている各タブレット デバイスの名前が設定されます。
' Calling the constructor automatically fills the
' Tablets collection with the available Tablet objects.
Dim allTablets As Tablets = New Tablets()
' clear the list box
Me.listBoxTablets.Items.Clear()
' populate the list box with the name of each tablet
' version using For Each
For Each T As Tablet In allTablets
Me.listBoxTablets.Items.Add(T.Name)
Next
// Calling the constructor automatically fills the
// Tablets collection with the available Tablet objects.
Tablets allTablets = new Tablets();
// clear the list box
this.listBoxTablets.Items.Clear();
// populate the list box with the name of each tablet
// version using foreach
foreach (Tablet T in allTablets)
{
this.listBoxTablets.Items.Add(T.Name);
}
継承階層
System.Object
Microsoft.Ink.Tablets
スレッド セーフ
この型のすべてのパブリック static (Visual Basic では Shared) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0