ReadOnlyPropertiesDictionary Item Property | Apache log4net™ SDK Documentation

Gets or sets the value of the property with the specified key.

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

C#
VB
C++
F#
Copy

    public virtual Object this[
    	string key
    ] { get; set; }

    Public Overridable Default Property Item (
    	key As String
    ) As Object
    	Get
    	Set

    public:
    virtual property Object^ default[String^ key] {
    	Object^ get (String^ key);
    	void set (String^ key, Object^ value);
    }

    abstract Item : Object with get, set
    override Item : Object with get, set

#### Parameters

key
  Type: System
  String
  The key of the property to get or set.

#### Property Value

Type: Object
The value of the property with the specified key.
Remarks

The property value will only be serialized if it is serializable. If it cannot be serialized it will be silently ignored if a serialization operation is performed.

See Also

#### Reference

ReadOnlyPropertiesDictionary Class
log4net.Util Namespace