Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

EmptyDictionary.Remove�Method�

Removes the element with the specified key from the EmptyDictionary.

[Visual�Basic]
NotOverridable�Public�Sub�Remove( _
���ByVal key�As�Object�_
)�_
����Implements�IDictionary.Remove
[C#]
public�void�Remove(
���objectkey
);

Parameters

key
The key of the element to remove.

Implements

IDictionary.Remove

Remarks

As the collection is empty no values can be removed. A InvalidOperationException is thrown if this method is called.

Exceptions

Exception TypeCondition
InvalidOperationExceptionThis dictionary is always empty and cannot be modified.

See Also

EmptyDictionary Class | log4net.Util Namespace