Condividi tramite


Classe Tablets

Aggiornamento: novembre 2007

Contiene gli oggetti Tablet che rappresentano le proprietà specifiche dell'hardware di tutte le tavolette associate al sistema.

Spazio dei nomi:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Sintassi

'Dichiarazione
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public Class Tablets _
    Implements ICollection, IEnumerable
'Utilizzo
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

Note

È possibile eseguire una query in tutti gli oggetti Tablet all'interno dell'insieme in relazione alle rispettive funzionalità.

Esempi

In questo esempio l'oggetto ListBoxlistBoxTablets viene compilato con il nome di ogni tavoletta associata al sistema.

' 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);
}

Gerarchia di ereditarietà

System.Object
  Microsoft.Ink.Tablets

Codice thread safe

Qualsiasi membro static (Shared in Visual Basic) pubblico di questo tipo è thread-safe. I membri di istanza non sono garantiti come thread-safe.

Piattaforme

Windows Vista

.NET Framework e .NET Compact Framework non supportano tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.

Informazioni sulla versione

.NET Framework

Supportato in: 3.0

Vedere anche

Riferimenti

Membri Tablets

Spazio dei nomi Microsoft.Ink

Tablet

Microsoft.Ink.Tablets.TabletsEnumerator