Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections Namespace / Advisable­Dictionary(TKey, TValue) Class / Advisable­Dictionary(TKey, TValue) Methods / Advisable­Dictionary(TKey, TValue).​Clear Method

AdvisableDictionary<TKey, TValue>.Clear Method

Removes all elements from the IDictionary object.

Namespace:  PostSharp.Patterns.Collections
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.1.6.0 (6.1.6.0)
Syntax
C#
public void Clear()

Implements

IDictionary.Clear()
ICollection<T>.Clear()
Exceptions
ExceptionCondition
NotSupportedExceptionThe IDictionary object is read-only.
See Also