Skip to content

CompositeDisposable.Contains(IDisposable) method

Defined in

Type: CompositeDisposable Namespace: System.Reactive.Disposables Assembly: System.Reactive.dll

Applies to

netstandard2.0, net472

public bool Contains(IDisposable item)

Inherited documentation

These docs were inherited from ICollection<IDisposable>. The member doesn't override them on this type.

Summary: Determines whether the ICollection (opens in a new tab) contains a specific value.

Parameters

NameTypeDescription
itemIDisposable (opens in a new tab)The object to locate in the ICollection (opens in a new tab).

Returns: bool (opens in a new tab) -- true if item is found in the ICollection (opens in a new tab); otherwise, false.