共用方式為


IStylusAsyncPlugin.RealTimeStylusDisabled Method

IStylusAsyncPlugin.RealTimeStylusDisabled Method

Informs the implementing plug-in that the RealTimeStylus is disabled.

Definition

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

Parameters

sender Microsoft.StylusInput.RealTimeStylus. The RealTimeStylus that sent the disabled notification.
data Microsoft.StylusInput.PluginData.RealTimeStylusDisabledData. Contains information about the tablets associated with this RealTimeStylus.

Examples

[C#]

This C# example alerts the developer when the plug-in is removed from the StylusAsyncPluginCollection.

public void RealTimeStylusDisabled(RealTimeStylus sender, RealTimeStylusDisabledData data)
{
  Debug.Assert(false, null, "This plug-in has been removed from the RealTimeStylusAsyncPluginCollection.");
}

See Also