다음을 통해 공유


Tablets 클래스

업데이트: 2007년 11월

시스템에 연결된 모든 태블릿의 하드웨어별 속성을 나타내는 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에서 지원

참고 항목

참조

Tablets 멤버

Microsoft.Ink 네임스페이스

Tablet

Microsoft.Ink.Tablets.TabletsEnumerator