CompositeDisposable.Remove(IDisposable) method¶
Defined in
Type: CompositeDisposable
Namespace: System.Reactive.Disposables
Assembly: System.Reactive.dll
Applies to
netstandard2.0
public bool Remove(IDisposable item)
Summary: Removes and disposes the first occurrence of a disposable from the CompositeDisposable.
Parameters
| Name | Type | Description |
|---|---|---|
item | IDisposable | Disposable to remove. |
Returns: bool -- true if found; false otherwise.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | item is null. |