IStylusAsyncPlugin.RealTimeStylusDisabled 方法

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

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

语法

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

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

参数

示例

此 C# 示例在从 StylusAsyncPluginCollection 中移除插件时向开发人员发出警报。

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

此 Microsoft Visual Basic .NET 示例在从 StylusAsyncPluginCollection 中移除插件时向开发人员发出警报。

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

平台

Windows Vista, Windows XP SP2, Windows Server 2003

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

版本信息

.NET Framework

受以下版本支持:3.0

另请参见

参考

IStylusAsyncPlugin 接口

IStylusAsyncPlugin 成员

Microsoft.StylusInput 命名空间

IStylusAsyncPlugin.RealTimeStylusEnabled