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>::Builder::ToImmutable Method ()

 

Creates an immutable sorted set based on the contents of this instance.

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

public:
ImmutableSortedSet<T>^ ToImmutable()

Return Value

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

An immutable set.

This method is an O(n) operation and approaches O(1) time as the number of actual mutations to the set since the last call to this method approaches 0.

Return to top
Show:
© 2017 Microsoft