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.

ImmutableList<T>::ToBuilder Method ()

 

Creates a list that has the same contents as this list and can be efficiently mutated across multiple operations using standard mutable interfaces.

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

public:
ImmutableList<T>::Builder^ ToBuilder()

Return Value

Type: System.Collections.Immutable::ImmutableList<T>::Builder^

The created list with the same contents as this list.

This is an O(1) operation and results in only a single (small) memory allocation. The mutable list that is returned is not thread-safe.

Return to top
Show:
© 2017 Microsoft