LoggingEvent Properties Property | Apache log4net™ SDK Documentation

Additional event specific properties.

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

C#
VB
C++
F#
Copy

    public PropertiesDictionary Properties { get; }

    Public ReadOnly Property Properties As PropertiesDictionary
    	Get

    public:
    property PropertiesDictionary^ Properties {
    	PropertiesDictionary^ get ();
    }

    member Properties : PropertiesDictionary with get

#### Property Value

Type: PropertiesDictionary
Additional event specific properties.
Remarks

A logger or an appender may attach additional properties to specific events. These properties have a string key and an object value.

This property is for events that have been added directly to this event. The aggregate properties (which include these event properties) can be retrieved using LookupProperty(String) and GetProperties
.

Once the properties have been fixed Fix this property returns the combined cached properties. This ensures that updates to this property are always reflected in the underlying storage. When returning the combined properties there may be more keys in the Dictionary than expected.

See Also

#### Reference

LoggingEvent Class
log4net.Core Namespace