This documentation is archived and is not being maintained.

PacketsData Class

Represents a container for the values passed in the IStylusSyncPlugin.Packets and IStylusAsyncPlugin.Packets methods when packets are detected. This class cannot be inherited.

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

public sealed class PacketsData : StylusDataBase

You can create new instances of the object and add it to a RealTimeStylus queue by using the AddCustomStylusDataToQueue method.

You can modify the packet data of this notification by calling the SetData method.


Calling the SetData method with its value property set to null (Nothing in Microsoft Visual Basic .NET) allows you to cancel the notification. This is useful when you want to cancel packets from within a plug-in.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.0