ContextPropertiesBase Item Property | Apache log4net™ SDK Documentation

Gets or sets 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 abstract Object this[
    	string key
    ] { get; set; }

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

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

    abstract Item : Object with get, set

#### Parameters

key
  Type: System
  String

#### Property Value

Type: Object
The value for the property with the specified key
Remarks

Gets or sets the value of a property

See Also

#### Reference

ContextPropertiesBase Class
log4net.Util Namespace