StylusAsyncPluginCollection.Insert Method
Inserts an asynchronous plug-in into the StylusAsyncPluginCollection collection at the specified index.
Namespace: Microsoft.StylusInput
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Sub Insert ( _
index As Integer, _
item As IStylusAsyncPlugin _
)
'Usage
Dim instance As StylusAsyncPluginCollection
Dim index As Integer
Dim item As IStylusAsyncPlugin
instance.Insert(index, item)
public void Insert(
int index,
IStylusAsyncPlugin item
)
public:
void Insert(
int index,
IStylusAsyncPlugin^ item
)
public function Insert(
index : int,
item : IStylusAsyncPlugin
)
Parameters
index
Type: System.Int32The zero-based index at which to insert the plug-in specified in the item parameter.
item
Type: Microsoft.StylusInput.IStylusAsyncPluginThe asynchronous plug-in to insert.
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
StylusAsyncPluginCollection Class