Share via


IStylusSyncPlugin.RealTimeStylusEnabled Method

Informs the implementing plug-in that the RealTimeStylus object is enabled

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

Syntax

'Declaration
Sub RealTimeStylusEnabled ( _
    sender As RealTimeStylus, _
    data As RealTimeStylusEnabledData _
)
'Usage
Dim instance As IStylusSyncPlugin 
Dim sender As RealTimeStylus 
Dim data As RealTimeStylusEnabledData

instance.RealTimeStylusEnabled(sender, _
    data)
void RealTimeStylusEnabled(
    RealTimeStylus sender,
    RealTimeStylusEnabledData data
)
void RealTimeStylusEnabled(
    RealTimeStylus^ sender, 
    RealTimeStylusEnabledData^ data
)
function RealTimeStylusEnabled(
    sender : RealTimeStylus, 
    data : RealTimeStylusEnabledData
)

Parameters

Examples

This C# example alerts the developer when a plug-in is added to the StylusSyncPluginCollection collection.

public void RealTimeStylusEnabled(RealTimeStylus sender, RealTimeStylusEnabledData data)
{
  Debug.Assert(false, null, "This plug-in has been added to the RealTimeStylusAsyncPluginCollection.");
}

This Microsoft Visual Basic .NET example alerts the developer when a plug-in is added to the StylusSyncPluginCollection collection.

Public Sub RealTimeStylusEnabled(ByVal sender As RealTimeStylus, ByVal data As RealTimeStylusEnabledData) _
     Implements IStylusSyncPlugin.RealTimeStylusEnabled
        Debug.Assert(False, "RealTimeStylusEnabled", _
          "The plug-in has been added to the RealTimeStylusSyncPluginCollection.")
    End Sub 'RealTimeStylusEnabled

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

RealTimeStylusEnabledData