Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

PluginCollection.IndexOf�Method�

Returns the zero-based index of the first occurrence of a IPlugin in the PluginCollection.

[Visual�Basic]
Overridable�Public�Function�IndexOf( _
���ByVal item�As�IPlugin�_
)�As�Integer
[C#]
public�virtual�int�IndexOf(
���IPluginitem
);

Parameters

item
The IPlugin to locate in the PluginCollection.

Return Value

The zero-based index of the first occurrence of item in the entire PluginCollection, if found; otherwise, -1.

See Also

PluginCollection Class | log4net.Plugin Namespace