NLog Logging Library

TargetCollection Members

TargetCollection overview

Public Instance Constructors

TargetCollection Overloaded. Initializes a new instance of the TargetCollection class.

Public Instance Properties

Item Gets or sets the Target at the given index in this TargetCollection.

Public Instance Methods

Add Adds an instance of type Target to the end of this TargetCollection.
AddRangeOverloaded. Adds the elements of an array to the end of this TargetCollection.
Contains Determines whether a specfic Target value is in this TargetCollection.
GetEnumerator Returns an enumerator that can iterate through the elements of this TargetCollection.
IndexOf Return the zero-based index of the first occurrence of a specific value in this TargetCollection
Insert Inserts an element into the TargetCollection at the specified index
Remove Removes the first occurrence of a specific Target from this TargetCollection.

See Also

TargetCollection Class | NLog Namespace