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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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