PostSharp4.3//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: 4.3.48.0 (4.3.48.0)
Syntax
C#
public void Clear()

Implements

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