IStylusAsyncPlugin.TabletRemoved 方法
当从系统中移除 Microsoft.Ink.Tablet 对象时通知实现插件。
命名空间: Microsoft.StylusInput
程序集: Microsoft.Ink(在 Microsoft.Ink.dll 中)
语法
声明
Sub TabletRemoved ( _
sender As RealTimeStylus, _
data As TabletRemovedData _
)
用法
Dim instance As IStylusAsyncPlugin
Dim sender As RealTimeStylus
Dim data As TabletRemovedData
instance.TabletRemoved(sender, data)
void TabletRemoved(
RealTimeStylus sender,
TabletRemovedData data
)
void TabletRemoved(
RealTimeStylus^ sender,
TabletRemovedData^ data
)
void TabletRemoved(
RealTimeStylus sender,
TabletRemovedData data
)
function TabletRemoved(
sender : RealTimeStylus,
data : TabletRemovedData
)
参数
- sender
类型:Microsoft.StylusInput.RealTimeStylus
发送通知的 RealTimeStylus 对象。
- data
类型:Microsoft.StylusInput.PluginData.TabletRemovedData
有关已移除的 Tablet 对象的信息。
备注
备注
此方法由 RealTimeStylus 对象调用,无论 RealTimeStylus 对象是已启用还是已禁用。
示例
此 C# 示例实现 TabletRemoved 方法。此示例在已从系统中移除 Tablet 时通知开发人员。
public void TabletRemoved(RealTimeStylus sender, TabletRemovedData data)
{
Debug.Assert(false, "TabletRemoved", "The tablet at index "
+ data.TabletIndex.ToString() + " has been removed from the system.");
}
此 Microsoft Visual Basic .NET 示例实现 TabletRemoved 方法。此示例在已从系统中移除 Tablet 时通知开发人员。
Public Sub TabletRemoved(ByVal sender As RealTimeStylus, ByVal data As TabletRemovedData) _
Implements IStylusAsyncPlugin.TabletRemoved
Debug.Assert(False, "TabletRemoved", "The tablet at index " & _
data.TabletIndex.ToString() & " has been removed from the system.")
End Sub 'TabletRemoved
平台
Windows Vista, Windows XP SP2, Windows Server 2003
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
版本信息
.NET Framework
受以下版本支持:3.0