IStylusAsyncPlugin.RealTimeStylusEnabled - метод
Обновлен: Ноябрь 2007
Notifies the implementing plug-in that the RealTimeStylus object is enabled
Пространство имен: Microsoft.StylusInput
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Sub RealTimeStylusEnabled ( _
sender As RealTimeStylus, _
data As RealTimeStylusEnabledData _
)
'Применение
Dim instance As IStylusAsyncPlugin
Dim sender As RealTimeStylus
Dim data As RealTimeStylusEnabledData
instance.RealTimeStylusEnabled(sender, _
data)
void RealTimeStylusEnabled(
RealTimeStylus sender,
RealTimeStylusEnabledData data
)
void RealTimeStylusEnabled(
RealTimeStylus^ sender,
RealTimeStylusEnabledData^ data
)
void RealTimeStylusEnabled(
RealTimeStylus sender,
RealTimeStylusEnabledData data
)
function RealTimeStylusEnabled(
sender : RealTimeStylus,
data : RealTimeStylusEnabledData
)
Параметры
- sender
Тип: Microsoft.StylusInput.RealTimeStylus
The RealTimeStylus object that sent the notification.
- data
Тип: Microsoft.StylusInput.PluginData.RealTimeStylusEnabledData
Information about the Microsoft.Ink.Tablet objects associated with this RealTimeStylus object.
Примеры
This C# example alerts the developer when the plug-in is added to the StylusAsyncPluginCollection collection.
public void RealTimeStylusEnabled(RealTimeStylus sender, RealTimeStylusEnabledData data)
{
Debug.Assert(false, "RealTimeStylusEnabled",
"The plug-in has been added to the RealTimeStylusAsyncPluginCollection.");
}
This Microsoft Visual Basic .NET example alerts the developer when the plug-in is added to the StylusAsyncPluginCollection collection.
Public Sub RealTimeStylusEnabled(ByVal sender As RealTimeStylus, ByVal data As RealTimeStylusEnabledData) _
Implements IStylusAsyncPlugin.RealTimeStylusEnabled
Debug.Assert(False, "RealTimeStylusEnabled", _
"The plug-in has been added to the RealTimeStylusAsyncPluginCollection.")
End Sub 'RealTimeStylusEnabled
Платформы
Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0