IStylusSyncPlugin.TabletAdded - метод
Обновлен: Ноябрь 2007
Notifies the implementing plug-in when a Microsoft.Ink.Tablet object is added to the system.
Пространство имен: Microsoft.StylusInput
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Sub TabletAdded ( _
sender As RealTimeStylus, _
data As TabletAddedData _
)
'Применение
Dim instance As IStylusSyncPlugin
Dim sender As RealTimeStylus
Dim data As TabletAddedData
instance.TabletAdded(sender, data)
void TabletAdded(
RealTimeStylus sender,
TabletAddedData data
)
void TabletAdded(
RealTimeStylus^ sender,
TabletAddedData^ data
)
void TabletAdded(
RealTimeStylus sender,
TabletAddedData data
)
function TabletAdded(
sender : RealTimeStylus,
data : TabletAddedData
)
Параметры
- sender
Тип: Microsoft.StylusInput.RealTimeStylus
The RealTimeStylus object that sent the notification.
- data
Тип: Microsoft.StylusInput.PluginData.TabletAddedData
Information about the Tablet object that was added.
Заметки
Примечание. |
---|
This method is called by the RealTimeStylus object, whether the RealTimeStylus object is enabled or disabled. |
Примеры
This C# example implements the TabletAdded method. The example notifies the developer when a tablet is added to the system.
public void TabletAdded(RealTimeStylus sender, TabletAddedData data)
{
Debug.Assert(false, "TabletAdded", "A tablet called "
+ data.Tablet.Name + " has been added to the system.");
}
This Microsoft Visual Basic .NET example implements the TabletAdded method. The example notifies the developer when a tablet is added to the system.
Public Sub TabletAdded(ByVal sender As RealTimeStylus, ByVal data As TabletAddedData) _
Implements IStylusSyncPlugin.TabletAdded
Debug.Assert(False, "TabletAdded", "A tablet called " & _
data.Tablet.Name & " has been added to the system.")
End Sub 'TabletAdded
Платформы
Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0