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.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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