Compositedisposable

CompositeDisposable.Remove Method

Removes and disposes the first occurrence of a disposable from the CompositeDisposable.

Namespace:  System.Reactive.Disposables
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
Public Function Remove ( _
    item As IDisposable _
) As Boolean
'Usage
Dim instance As CompositeDisposable
Dim item As IDisposable
Dim returnValue As Boolean

returnValue = instance.Remove(item)
public bool Remove(
    IDisposable item
)
public:
virtual bool Remove(
    IDisposable^ item
) sealed
abstract Remove : 
        item:IDisposable -> bool 
override Remove : 
        item:IDisposable -> bool 
public final function Remove(
    item : IDisposable
) : boolean

Parameters

Return Value

Type: System.Boolean

Implements

ICollection<T>.Remove(T)

See Also

Reference

CompositeDisposable Class

System.Reactive.Disposables Namespace