Item Property

log4net SDK Reference |

# PropertiesDictionary.Item Property

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

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

#### Parameters

key
  The key of the property to get or set.

#### Property Value

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

PropertiesDictionary Class | log4net.Util Namespace