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: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
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