Skip to main content

Clear Method

Removes all items from the ICollection(T).

Definition

Namespace: Avalonia.Collections
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public void Clear()
View Source

Implements

ICollection(T).Clear()
IDictionary.Clear()

Exceptions

NotSupportedExceptionThe ICollection(T) is read-only.

See Also

Reference

AvaloniaDictionary(TKey, TValue) Class
Avalonia.Collections Namespace