ImmutableArray<T>.Clear 方法

定义

返回已移除所有元素的数组。Returns an array with all the elements removed.

public:
 System::Collections::Immutable::ImmutableArray<T> Clear();
public System.Collections.Immutable.ImmutableArray<T> Clear ();
public System.Collections.Immutable.ImmutableArray<T>? Clear ();
member this.Clear : unit -> System.Collections.Immutable.ImmutableArray<'T>
Public Function Clear () As ImmutableArray(Of T)

返回

ImmutableArray<T>

已移除所有元素的数组。An array with all of the elements removed.

适用于