Condividi tramite


Metodo IStylusAsyncPlugin.TabletRemoved

Aggiornamento: novembre 2007

Notifica a un plug-in di implementazione quando un oggetto Microsoft.Ink.Tablet viene rimosso dal sistema.

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

Sintassi

'Dichiarazione
Sub TabletRemoved ( _
    sender As RealTimeStylus, _
    data As TabletRemovedData _
)
'Utilizzo
Dim instance As IStylusAsyncPlugin
Dim sender As RealTimeStylus
Dim data As TabletRemovedData

instance.TabletRemoved(sender, data)
void TabletRemoved(
    RealTimeStylus sender,
    TabletRemovedData data
)
void TabletRemoved(
    RealTimeStylus^ sender, 
    TabletRemovedData^ data
)
void TabletRemoved(
    RealTimeStylus sender,
    TabletRemovedData data
)
function TabletRemoved(
    sender : RealTimeStylus, 
    data : TabletRemovedData
)

Parametri

Note

Nota

Questo metodo viene chiamato dall'oggetto RealTimeStylus, indipendentemente dal fatto che l'oggetto RealTimeStylus sia abilitato o disabilitato.

Esempi

In questo esempio C# viene implementato il metodo TabletRemoved. Nell'esempio viene inviata una notifica allo sviluppatore quando una tavoletta viene rimossa dal sistema.

public void TabletRemoved(RealTimeStylus sender, TabletRemovedData data)
{
    Debug.Assert(false, "TabletRemoved", "The tablet at index " 
                 + data.TabletIndex.ToString() + " has been removed from the system.");
}

In questo esempio Microsoft Visual Basic .NET viene implementato il metodo TabletRemoved. Nell'esempio viene inviata una notifica allo sviluppatore quando una tavoletta viene rimossa dal sistema.

Public Sub TabletRemoved(ByVal sender As RealTimeStylus, ByVal data As TabletRemovedData) _
 Implements IStylusAsyncPlugin.TabletRemoved
    Debug.Assert(False, "TabletRemoved", "The tablet at index " & _
                 data.TabletIndex.ToString() & " has been removed from the system.")
End Sub 'TabletRemoved

Piattaforme

Windows Vista, Windows XP SP2, Windows Server 2003

.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

IStylusAsyncPlugin Interfaccia

Membri IStylusAsyncPlugin

Spazio dei nomi Microsoft.StylusInput

TabletRemovedData