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

 

Removes all elements from the immutable list.

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

public:
ImmutableList<T>^ Clear()

Return Value

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

An empty list that retains the same sort or unordered semantics that this instance has.

Return to top
Show:
© 2017 Microsoft