ImmutableHashSet<T>.IImmutableSet<T>.Clear Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves an empty set that has the same sorting and ordering semantics as this instance.
virtual System::Collections::Immutable::IImmutableSet<T> ^ System.Collections.Immutable.IImmutableSet<T>.Clear() = System::Collections::Immutable::IImmutableSet<T>::Clear;
System.Collections.Immutable.IImmutableSet<T> IImmutableSet<T>.Clear ();
abstract member System.Collections.Immutable.IImmutableSet<T>.Clear : unit -> System.Collections.Immutable.IImmutableSet<'T>
override this.System.Collections.Immutable.IImmutableSet<T>.Clear : unit -> System.Collections.Immutable.IImmutableSet<'T>
Function Clear () As IImmutableSet(Of T) Implements IImmutableSet(Of T).Clear
Returns
An empty set that has the same sorting or ordering semantics as this instance.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the ImmutableHashSet<T> instance is cast to an IImmutableSet<T> interface.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.