CompositeDisposable.Clear() method¶
Defined in
Type: CompositeDisposable
Namespace: System.Reactive.Disposables
Assembly: System.Reactive.dll
Applies to
netstandard2.0, net472
public void Clear()
Inherited documentation
These docs were inherited from ICollection<IDisposable>. The member doesn't override them on this type.
Summary: Removes all items from the ICollection (opens in a new tab).
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException (opens in a new tab) | The ICollection (opens in a new tab) is read-only. |