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

Gets or sets the name of control to which NLog will log write log text.

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


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

value = instance.ControlName

instance.ControlName = value

See Also