共用方式為


IStylusSyncPlugin.TabletRemoved 方法

Microsoft.Ink.Tablet 物件從系統移除時,通知實作外掛程式。

命名空間:  Microsoft.StylusInput
組件:  Microsoft.Ink (在 Microsoft.Ink.dll 中)

語法

'宣告
Sub TabletRemoved ( _
    sender As RealTimeStylus, _
    data As TabletRemovedData _
)
'用途
Dim instance As IStylusSyncPlugin
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
)

參數

備註

ms585082.alert_note(zh-tw,VS.90).gif注意事項:

無論 RealTimeStylus 物件已啟用或停用,這個方法都是由此 RealTimeStylus 物件呼叫。

範例

這個 C# 範例會實作 TabletRemoved 方法。這個範例會在手寫板已從系統移除時,通知開發人員。

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 方法。這個範例會在手寫板已從系統移除時,通知開發人員。

Public Sub TabletRemoved(ByVal sender As RealTimeStylus, ByVal data As TabletRemovedData) _
 Implements IStylusSyncPlugin.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

請參閱

參考

IStylusSyncPlugin 介面

IStylusSyncPlugin 成員

Microsoft.StylusInput 命名空間

TabletRemovedData