Share via


StylusAsyncPluginCollection.IndexOf Method

StylusAsyncPluginCollection.IndexOf Method

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

Definition

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

Parameters

plugin Microsoft.StylusInput.IStylusAsyncPlugin. The asynchronous plug-in to locate in the asynchronous plug-in collection.

Return Value

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