EmptyDictionaryItem Property Apache log4net™ SDK Documentation
Gets or sets the element with the specified key.

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

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

Parameters

key
Type: SystemObject
The key of the element to get or set.

Property Value

Type: Object
null

Implements

IDictionaryItemObject
Exceptions

ExceptionCondition
InvalidOperationExceptionThis dictionary is always empty and cannot be modified.
Remarks

As the collection is empty no values can be looked up or stored. If the index getter is called then null is returned. A InvalidOperationException is thrown if the setter is called.

See Also

Reference