Share via


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)

Syntax

'Declaration
Public NotInheritable Class PacketsData _
    Inherits StylusDataBase
'Usage
Dim instance As PacketsData
public sealed class PacketsData : StylusDataBase
public ref class PacketsData sealed : public StylusDataBase
public final class PacketsData extends StylusDataBase

Remarks

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.

Note

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.

Inheritance Hierarchy

System.Object
  Microsoft.StylusInput.PluginData.StylusDataBase
    Microsoft.StylusInput.PluginData.PacketsData

Thread Safety

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

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

PacketsData Members

Microsoft.StylusInput.PluginData Namespace