Sdílet prostřednictvím


StylusSyncPluginCollection.Add Method

Adds a synchronous plug-in to the end of the StylusSyncPluginCollection collection.

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

Syntax

'Declaration
Public Sub Add ( _
    item As IStylusSyncPlugin _
)
'Usage
Dim instance As StylusSyncPluginCollection 
Dim item As IStylusSyncPlugin

instance.Add(item)
public void Add(
    IStylusSyncPlugin item
)
public:
void Add(
    IStylusSyncPlugin^ item
)
public function Add(
    item : IStylusSyncPlugin
)

Parameters

Remarks

This method throws an exception under the following conditions.

  • The item parameter is nulla null reference (Nothing in Visual Basic) (Nothing in Visual Basic).

  • The item parameter contains an object that is already a member of the collection.

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

StylusSyncPluginCollection Class

StylusSyncPluginCollection Members

Microsoft.StylusInput Namespace