RawPropertyLayout Key Property | Apache log4net™ SDK Documentation

The name of the value to lookup in the LoggingEvent Properties collection.

Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public string Key { get; set; }

    Public Property Key As String
    	Get
    	Set

    public:
    property String^ Key {
    	String^ get ();
    	void set (String^ value);
    }

    member Key : string with get, set

#### Property Value

Type: String
Value to lookup in the LoggingEvent Properties collection
Remarks

String name of the property to lookup in the LoggingEvent.

See Also

#### Reference

RawPropertyLayout Class
log4net.Layout Namespace