다음을 통해 공유


IStylusSyncPlugin.TabletRemoved Method

IStylusSyncPlugin.TabletRemoved Method

Notification occurs when a Tablet is removed from the system.

Definition

Visual Basic .NET Public Sub TabletRemoved( _
ByVal sender As RealTimeStylus, _
ByVal data As TabletRemovedData _
)
C# public void TabletRemoved(
RealTimeStylus sender,
TabletRemovedData data
);
Managed C++ public: void TabletRemoved(
RealTimeStylus *sender,
TabletRemovedData *data
);

Parameters

sender Microsoft.StylusInput.RealTimeStylus. The RealTimeStylus that sent the notification.
data Microsoft.StylusInput.PluginData.TabletRemovedData. Provides access to the Tablet that was added.

Examples

[C#]

This C# example implements the TabletRemoved method. It 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.");
}

See Also