IImmutableSet<T>.Intersect(IEnumerable<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.
Creates an immutable set that contains only elements that exist in this set and the specified set.
public:
System::Collections::Immutable::IImmutableSet<T> ^ Intersect(System::Collections::Generic::IEnumerable<T> ^ other);
public System.Collections.Immutable.IImmutableSet<T> Intersect (System.Collections.Generic.IEnumerable<T> other);
abstract member Intersect : seq<'T> -> System.Collections.Immutable.IImmutableSet<'T>
Public Function Intersect (other As IEnumerable(Of T)) As IImmutableSet(Of T)
Parameters
- other
- IEnumerable<T>
The collection to compare to the current IImmutableSet<T>.
Returns
A new immutable set that contains elements that exist in both sets.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.