ImmutableHashSet<T>.Remove(T) 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.
Removes the specified element from this immutable hash set.
public:
System::Collections::Immutable::ImmutableHashSet<T> ^ Remove(T item);
public System.Collections.Immutable.ImmutableHashSet<T> Remove (T item);
member this.Remove : 'T -> System.Collections.Immutable.ImmutableHashSet<'T>
Public Function Remove (item As T) As ImmutableHashSet(Of T)
Parameters
- item
- T
The element to remove.
Returns
A new set with the specified element removed, or the current set if the element cannot be found in the set.
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.