 | LoggingConfigurationConfiguredNamedTargets Property |
Gets a collection of named targets specified in the configuration.
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntaxpublic ReadOnlyCollection<Target> ConfiguredNamedTargets { get; }
Public ReadOnly Property ConfiguredNamedTargets As ReadOnlyCollection(Of Target)
Get
Dim instance As LoggingConfiguration
Dim value As ReadOnlyCollection(Of Target)
value = instance.ConfiguredNamedTargets
member ConfiguredNamedTargets : ReadOnlyCollection<Target> with get
Return Value
Type:
ReadOnlyCollectionTarget
A list of named targets.
Remarks
Unnamed targets (such as those wrapped by other targets) are not returned.
See Also