IStylusSyncPlugin.RealTimeStylusDisabled Method

Notifies the implementing plug-in that the RealTimeStylus object is disabled.

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

Syntax

'Declaration
Sub RealTimeStylusDisabled ( _
    sender As RealTimeStylus, _
    data As RealTimeStylusDisabledData _
)
'Usage
Dim instance As IStylusSyncPlugin 
Dim sender As RealTimeStylus 
Dim data As RealTimeStylusDisabledData

instance.RealTimeStylusDisabled(sender, _
    data)
void RealTimeStylusDisabled(
    RealTimeStylus sender,
    RealTimeStylusDisabledData data
)
void RealTimeStylusDisabled(
    RealTimeStylus^ sender, 
    RealTimeStylusDisabledData^ data
)
function RealTimeStylusDisabled(
    sender : RealTimeStylus, 
    data : RealTimeStylusDisabledData
)

Parameters

Examples

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

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

This Microsoft Visual Basic .NET example alerts the developer when the plug-in is removed from the StylusSyncPluginCollection collection.

Public Sub RealTimeStylusDisabled(sender As RealTimeStylus, data As RealTimeStylusDisabledData)
   Implements IStylusSyncPlugin.RealTimeStylusDisabled
      Debug.Assert(False, "RealTimeStylusDisabled", _
      "The plug-in has been removed from the RealTimeStylusSyncPluginCollection.")
   End Sub 'RealTimeStylusDisabled

Platforms

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.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

IStylusSyncPlugin Interface

IStylusSyncPlugin Members

Microsoft.StylusInput Namespace

IStylusSyncPlugin.RealTimeStylusEnabled