Share via


IStylusSyncPlugin.DataInterest Property

Gets a value that is used to define the set of data notifications that the plug-in requires.

Namespace:  Microsoft.StylusInput
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
ReadOnly Property DataInterest As DataInterestMask
'Usage
Dim instance As IStylusSyncPlugin 
Dim value As DataInterestMask 

value = instance.DataInterest
DataInterestMask DataInterest { get; }
property DataInterestMask DataInterest {
    DataInterestMask get ();
}
function get DataInterest () : DataInterestMask

Property Value

Type: Microsoft.StylusInput.DataInterestMask
A bitwise combination of the DataInterestMask values that defines the set of data notifications.

Examples

This C# example shows the implentation of the DataInterest property in a plug-in. This plug-in requires notifications through Packets and Error methods.

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

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

IStylusSyncPlugin Interface

IStylusSyncPlugin Members

Microsoft.StylusInput Namespace

DataInterestMask