ImmutableList<T>.Clear メソッド

定義

変更できないリストからすべての要素を削除します。

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

戻り値

このインスタンスと同じ並べ替えセマンティクスまたは順序なしのセマンティクスを保持する空のリスト。

適用対象