CompositeProperties Item Property | Apache log4net™ SDK Documentation

Gets the value of a property

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

C#
VB
C++
F#
Copy

    public Object this[
    	string key
    ] { get; }

    Public ReadOnly Default Property Item (
    	key As String
    ) As Object
    	Get

    public:
    property Object^ default[String^ key] {
    	Object^ get (String^ key);
    }

    member Item : Object with get

#### Parameters

key
  Type: System
  String

#### Property Value

Type: Object
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

#### Reference

CompositeProperties Class
log4net.Util Namespace