IStylusAsyncPlugin.RealTimeStylusEnabled 方法

通知实现插件 RealTimeStylus 对象已启用。

命名空间:  Microsoft.StylusInput
程序集:  Microsoft.Ink(在 Microsoft.Ink.dll 中)

语法

声明
Sub RealTimeStylusEnabled ( _
    sender As RealTimeStylus, _
    data As RealTimeStylusEnabledData _
)
用法
Dim instance As IStylusAsyncPlugin
Dim sender As RealTimeStylus
Dim data As RealTimeStylusEnabledData

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

参数

示例

此 C# 示例在将插件添加到 StylusAsyncPluginCollection 集合中时向开发人员发出警报。

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

此 Microsoft Visual Basic .NET 示例在将插件添加到 StylusAsyncPluginCollection 集合中时向开发人员发出警报。

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

平台

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求

版本信息

.NET Framework

受以下版本支持:3.0

另请参见

参考

IStylusAsyncPlugin 接口

IStylusAsyncPlugin 成员

Microsoft.StylusInput 命名空间

RealTimeStylusEnabledData