Metodo IStylusSyncPlugin.TabletRemoved
Aggiornamento: novembre 2007
Notifica al 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 IStylusSyncPlugin
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
- sender
Tipo: Microsoft.StylusInput.RealTimeStylus
Oggetto RealTimeStylus che ha inviato la notifica.
- data
Tipo: Microsoft.StylusInput.PluginData.TabletRemovedData
Informazioni sull'oggetto Tablet rimosso.
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 IStylusSyncPlugin.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