Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

AppenderCollection.IndexOf�Method�

Returns the zero-based index of the first occurrence of a IAppender in the AppenderCollection.

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

Parameters

item
The IAppender to locate in the AppenderCollection.

Return Value

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

See Also

AppenderCollection Class | log4net.Appender Namespace