Upraviť

Zdieľať cez


ICollection<T>.Clear Method

Definition

Removes all items from the ICollection<T>.

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

Exceptions

Remarks

Count must be set to 0, and references to other objects from elements of the collection must be released.

Applies to

See also