This documentation is archived and is not being maintained.

IStylusSyncPlugin.TabletRemoved Method

Notifies the implementing plug-in when a Microsoft.Ink.Tablet object is removed from the system.

Namespace:  Microsoft.StylusInput
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

'Declaration
Sub TabletRemoved ( _
	sender As RealTimeStylus, _
	data As TabletRemovedData _
)
'Usage
Dim instance As IStylusSyncPlugin 
Dim sender As RealTimeStylus 
Dim data As TabletRemovedData

instance.TabletRemoved(sender, data)

Parameters

sender
Type: Microsoft.StylusInput.RealTimeStylus

The RealTimeStylus object that sent the notification.

data
Type: Microsoft.StylusInput.PluginData.TabletRemovedData

Information about the Tablet object that was removed.

NoteNote:

This method is called by the RealTimeStylus object, whether the RealTimeStylus object is enabled or disabled.

This C# example implements the TabletRemoved method. The example notifies the developer when a tablet has been removed from the system.

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

This Microsoft Visual Basic .NET example implements the TabletRemoved method. The example notifies the developer when a tablet has been removed from the system.

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

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.0
Show: