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
)
參數
- sender
型別:Microsoft.StylusInput.RealTimeStylus
已傳送停用告知的 RealTimeStylus 物件。
- data
型別:Microsoft.StylusInput.PluginData.RealTimeStylusDisabledData
與這個 RealTimeStylus 物件相關聯之 Microsoft.Ink.Tablet 物件的相關資訊。
範例
這個 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