NLog Logging Library

FilterCollection.IndexOf Method 

[This is preliminary documentation and subject to change.]

Return the zero-based index of the first occurrence of a specific value in this FilterCollection

[Visual Basic]
Overridable Public Function IndexOf( _
   ByVal value As Filter _
) As Integer
[C#]
public virtual int IndexOf(
   Filter value
);

Parameters

value
The Filter value to locate in the FilterCollection.

Return Value

The zero-based index of the first occurrence of the _ELEMENT value if found; -1 otherwise.

See Also

FilterCollection Class | NLog Namespace