ImmutableSortedSet<T>.Add Method (T)

 

Adds the specified value to this immutable sorted set.

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

public ImmutableSortedSet<T> Add(
	T value
)

Parameters

value
Type: T

The value to add.

Return Value

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

A new set with the element added, or this set if the element is already in this set.

Return to top
Show: