Compositedisposable

CompositeDisposable.Contains Method

Determines whether the CompositeDisposable contains a specific disposable.

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

Syntax

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

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

Parameters

Return Value

Type: System.Boolean
true if the disposable was found; otherwise, false.

Implements

ICollection<T>.Contains(T)

See Also

Reference

CompositeDisposable Class

System.Reactive.Disposables Namespace