ImmutableArray<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

返回

IImmutableList<T>

已移除所有元素的数组。

实现

注解

此成员是显式接口成员的实现。 它只能在 ImmutableArray<T> 实例被强制转换为 IImmutableList<T> 接口时使用。

适用于