Skip to content

CompositeDisposable.Contains(IDisposable) method

Defined in

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

Applies to

net8.0, net8.0-windows10.0.19041, netstandard2.0

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 contains a specific value.

Parameters

NameTypeDescription
itemIDisposableThe object to locate in the ICollection.

Returns: bool -- true if item is found in the ICollection; otherwise, false.