ImmutableHashSet<T>.ISet<T>.IntersectWith 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.
Modifies the current set so that it contains only elements that are also in a specified collection.
virtual void System.Collections.Generic.ISet<T>.IntersectWith(System::Collections::Generic::IEnumerable<T> ^ other) = System::Collections::Generic::ISet<T>::IntersectWith;
void ISet<T>.IntersectWith (System.Collections.Generic.IEnumerable<T> other);
abstract member System.Collections.Generic.ISet<T>.IntersectWith : seq<'T> -> unit
override this.System.Collections.Generic.ISet<T>.IntersectWith : seq<'T> -> unit
Sub IntersectWith (other As IEnumerable(Of T)) Implements ISet(Of T).IntersectWith
Parameters
- other
- IEnumerable<T>
The collection to compare to the current collection.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the ImmutableHashSet<T> instance is cast to an ISet<T> interface.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.