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

 

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

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

public:
ImmutableSortedSet<T>^ Intersect(
	IEnumerable<T>^ other
)

Parameters

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

The set to intersect with this one.

Return Value

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

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

Return to top
Show: