Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ImmutableSortedSet<T>::IImmutableSet<T>::Intersect Method (IEnumerable<T>^)

 

Creates an immutable set that contains elements that exist in both this set and the specified set.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

private:
virtual IImmutableSet<T>^ Intersect(
	IEnumerable<T>^ other
) sealed = IImmutableSet<T>::Intersect

Parameters

other
Type: System.Collections.Generic::IEnumerable<T>^

The collection to compare to the current set.

Return Value

Type: System.Collections.Immutable::IImmutableSet<T>^

A new immutable set that contains any elements that exist in both sets.

This member is an explicit interface member implementation. It can be used only when the ImmutableSortedSet<T> instance is cast to an IImmutableSet<T> interface.

NuGet package: System.Collections.Immutable (about immutable collections and how to install)

Return to top
Show:
© 2017 Microsoft