Bagikan melalui


StylusSyncPluginCollection.IndexOf Method

StylusSyncPluginCollection.IndexOf Method

Searches for the specified synchronous plug-in and returns the zero-based index of the first occurrence within the entire synchronous plug-in collection.

Definition

Visual Basic .NET Public Function IndexOf( _
ByVal plugin As IStylusSyncPlugin _
) As Integer
C# public int IndexOf(
IStylusSyncPlugin plugin
);
Managed C++ public: int* IndexOf(
IStylusSyncPlugin *plugin
);

Parameters

plugin Microsoft.StylusInput.IStylusSyncPlugin. The synchronous plug-in to locate in the synchronous plug-in collection.

Return Value

System.Int32. The zero-based index of the first occurrence of plugin within the entire synchronous plug-in collection, if found; otherwise, -1.