NLog Logging Library

TargetCollection.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 TargetCollection

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

Parameters

value
The Target value to locate in the TargetCollection.

Return Value

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

See Also

TargetCollection Class | NLog Namespace