Click or drag to resize

LayoutAttribute Class

Marks class as Layout and attaches a type-alias name for use in NLog configuration.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    NLog.ConfigNameBaseAttribute
      NLog.LayoutsLayoutAttribute

Namespace:  NLog.Layouts
Assembly:  NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
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 type-alias
(Inherited from NameBaseAttribute.)
Top
See Also