AppenderCollection.IndexOf Method
AppenderCollectionIndexOf Method Apache log4net™ SDK Documentation
Returns the zero-based index of the first occurrence of a IAppender in the AppenderCollection.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public virtual int IndexOf(
	IAppender item
)

Parameters

item
Type: log4net.AppenderIAppender
The IAppender to locate in the AppenderCollection.

Return Value

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

Reference