Поделиться через


IStylusSyncPlugin.TabletRemoved - метод

Обновлен: Ноябрь 2007

Notifies the implementing plug-in when a Microsoft.Ink.Tablet object is removed from the system.

Пространство имен:  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(ru-ru,VS.90).gifПримечание.

This method is called by the RealTimeStylus object, whether the RealTimeStylus object is enabled or disabled.

Примеры

This C# example implements the TabletRemoved method. The example notifies the developer when a tablet has been removed from the system.

public void TabletRemoved(RealTimeStylus sender, TabletRemovedData data)
{
    Debug.Assert(false, "TabletRemoved", "The tablet at index " 
                 + data.TabletIndex.ToString() + " has been removed from the system.");
}

This Microsoft Visual Basic .NET example implements the TabletRemoved method. The example notifies the developer when a tablet has been removed from the system.

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 с пакетом обновления 2 (SP2), Windows Server 2003

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

IStylusSyncPlugin Интерфейс

IStylusSyncPlugin - члены

Microsoft.StylusInput - пространство имен

TabletRemovedData