ThreadContextProperties 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 override Object this[
    	string key
    ] { get; set; }

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

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

    abstract Item : Object with get, set
    override 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

ThreadContextProperties Class
log4net.Util Namespace