log4net SDK Reference

CompositeProperties.Item Property

Gets the value of a property

[Visual Basic]
Public Default ReadOnly Property Item( _
   ByVal key As String _
) As Object
[C#]
public object this[
   string key
] {get;}

Parameters

key
Missing <param> documentation for key

Property Value

The value for the property with the specified key

Remarks

Looks up the value for the key specified. The PropertiesDictionary collections are searched in the order in which they were added to this collection. The value returned is the value held by the first collection that contains the specified key.

If none of the collections contain the specified key then null is returned.

See Also

CompositeProperties Class | log4net.Util Namespace