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> 介面時,才能使用這個成員。

適用於