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

Gets or sets the name of the Form on which the control is located.

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


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

value = instance.FormName

instance.FormName = value

See Also