Share via


StylusAsyncPluginCollection.Add Method

Adds an asynchronous plug-in to the end of the StylusAsyncPluginCollection collection.

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

Syntax

'Declaration
Public Sub Add ( _
    item As IStylusAsyncPlugin _
)
'Usage
Dim instance As StylusAsyncPluginCollection 
Dim item As IStylusAsyncPlugin

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

Parameters

Remarks

This method throws an exception under the following conditions.

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

  • 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

StylusAsyncPluginCollection Class

StylusAsyncPluginCollection Members

Microsoft.StylusInput Namespace