StylusAsyncPluginCollection.Insert Method

StylusAsyncPluginCollection.Insert Method

Inserts an asynchronous plug-in into the asynchronous plug-in collection at the specified index.

Definition

Visual Basic .NET Public Sub Insert( _
ByVal index As Integer, _
ByVal item As IStylusAsyncPlugin _
)
C# public void Insert(
int index,
IStylusAsyncPlugin item
);
Managed C++ public: void Insert(
int *index,
IStylusAsyncPlugin *item
);

Parameters

index System.Int32. The zero-based index at which item should be inserted.
item Microsoft.StylusInput.IStylusAsyncPlugin. The asynchronous plug-in to insert.

Exceptions

ArgumentNullException Leave Site:
ArgumentOutOfRangeException Leave Site: index is less than zero -or- index is greater than Count.
InvalidCastException Leave Site:
InvalidOperationException Leave Site: Duplicate Item