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

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

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

Parameters

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

Property Value

Type: OnlineObject
null

Implements

OnlineIDictionary Item Object 
Exceptions

ExceptionCondition
OnlineSystem 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 OnlineInvalidOperationException is thrown if the setter is called.

See Also