log4net SDK Reference

EmptyDictionary.Clear Method 

Removes all elements from the EmptyDictionary.

[Visual Basic]
NotOverridable Public Sub Clear() _
    Implements IDictionary.Clear
[C#]
public void Clear();

Implements

IDictionary.Clear

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