PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Collections Namespace/Advisable­Hash­Set(T) Class/Advisable­Hash­Set(T) Methods/Advisable­Hash­Set(T).​Clear Method

AdvisableHashSet<T>.Clear Method

Removes all items from the ICollection<T>.

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

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