NLog Logging Library

TargetCollection.Contains Method 

[This is preliminary documentation and subject to change.]

Determines whether a specfic Target value is in this TargetCollection.

[Visual Basic]
Overridable Public Function Contains( _
   ByVal value As Target _
) As Boolean
[C#]
public virtual bool Contains(
   Target value
);

Parameters

value
The Target value to locate in this TargetCollection.

Return Value

true if value is found in this TargetCollection; false otherwise.

See Also

TargetCollection Class | NLog Namespace