[This is preliminary documentation and is subject to change.]

Designates a property of the class as an ambient property.

Namespace:  NLog.LayoutRenderers
Assembly:  NLog (in NLog.dll) Version: 2.0.0.0

Syntax

C#
public class AmbientPropertyAttribute : NameBaseAttribute
Visual Basic (Declaration)
Public Class AmbientPropertyAttribute _
	Inherits NameBaseAttribute
Visual C++
public ref class AmbientPropertyAttribute : public NameBaseAttribute

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    NLog.Config..::.NameBaseAttribute
      NLog.LayoutRenderers..::.AmbientPropertyAttribute

See Also