[This is preliminary documentation and is subject to change.]

Gets or sets the name of the target.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version:


public string Name { get; set; }
Visual Basic (Declaration)
Public Property Name As String
Visual Basic (Usage)
Dim instance As Target
Dim value As String

value = instance.Name

instance.Name = value

See Also