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

Gets or sets the layout used to format log messages.

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


public virtual Layout Layout { get; set; }
Visual Basic (Declaration)
Public Overridable Property Layout As Layout
Visual Basic (Usage)
Dim instance As TargetWithLayout
Dim value As Layout

value = instance.Layout

instance.Layout = value

See Also