語言

ImmutableList<T>.IImmutableList<T>.Clear 方法

定義

擷取與這個實例具有相同排序和排序語意的空白清單。

 virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.Clear() = System::Collections::Immutable::IImmutableList<T>::Clear;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.Clear();
abstract member System.Collections.Immutable.IImmutableList<T>.Clear : unit -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.Clear : unit -> System.Collections.Immutable.IImmutableList<'T>
Function Clear () As IImmutableList(Of T) Implements IImmutableList(Of T).Clear

傳回

一個空清單,其排序和排序語意與此實例相同。

實作

備註

此成員為明確介面成員實作。 它只能在實 ImmutableList<T> 例投射到 IImmutableList<T> 介面時使用。

適用於