Freigeben über


StylusSyncPluginCollection.Insert Method

StylusSyncPluginCollection.Insert Method

Inserts a synchronous plug-in into the synchronous plug-in collection at the specified index.

Definition

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

Parameters

index System.Int32. The zero-based index at which item should be inserted.
item Microsoft.StylusInput.IStylusSyncPlugin. The synchronous 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