Click or drag to resize
LayoutAttribute Class
Marks class as a layout renderer and assigns a format string to it.
Inheritance Hierarchy

Namespace: NLog.Layouts
Assembly: NLog (in NLog.dll) Version: 4.3.0
Syntax
public sealed class LayoutAttribute : NameBaseAttribute

The LayoutAttribute type exposes the following members.

Constructors
  NameDescription
Public methodLayoutAttribute
Initializes a new instance of the LayoutAttribute class.
Top
Properties
  NameDescription
Public propertyName
Gets the name of the item.
(Inherited from NameBaseAttribute.)
Top
See Also