IStylusAsyncPlugin.DataInterest 属性

获取一个值,该值定义插件需要的数据通知集。

命名空间:  Microsoft.StylusInput
程序集:  Microsoft.Ink(在 Microsoft.Ink.dll 中)

语法

声明
ReadOnly Property DataInterest As DataInterestMask
用法
Dim instance As IStylusAsyncPlugin
Dim value As DataInterestMask

value = instance.DataInterest
DataInterestMask DataInterest { get; }
property DataInterestMask DataInterest {
    DataInterestMask get ();
}
/** @property */
DataInterestMask get_DataInterest()
function get DataInterest () : DataInterestMask

属性值

类型:Microsoft.StylusInput.DataInterestMask
定义数据通知集的 DataInterestMask 值的按位组合。

示例

此 C# 示例演示插件中 DataInterest 属性的实现。此插件通过 PacketsError 方法要求发送通知。

public DataInterestMask DataInterest
{
    get
    {
        return DataInterestMask.Packets |
               DataInterestMask.Error;
    }
}

平台

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求

版本信息

.NET Framework

受以下版本支持:3.0

另请参见

参考

IStylusAsyncPlugin 接口

IStylusAsyncPlugin 成员

Microsoft.StylusInput 命名空间

DataInterestMask