log4net SDK Reference |

# LoggingEvent.LookupProperty Method

Lookup a composite property in this event

[Visual Basic]
Public Function LookupProperty( _
ByVal key As String _
) As Object
[C#]
public object LookupProperty(
string key
);

#### Parameters

key
  the key for the property to lookup

#### Return Value

the value for the property

#### Remarks

This event has composite properties that combine together properties from several different contexts in the following order:

this events properties
  This event has Properties that can be set. These properties are specific to this event only.
the thread properties
  The Properties that are set on the current thread. These properties are shared by all events logged on this thread.
the global properties
  The Properties that are set globally. These properties are shared by all the threads in the AppDomain.

#### See Also

LoggingEvent Class | log4net.Core Namespace