Редагувати

Поділитися через


ICollectionContract<C>.Clear Method

Definition

Removes all elements from the ICollectionContract<C>.

public:
 void Clear();
public void Clear ();
abstract member Clear : unit -> unit
Public Sub Clear ()

Exceptions

Remarks

To determine whether an ICollectionContract<C> is read-only, call the GetIsReadOnly method.

Applies to