RefCountDisposable.GetDisposable Method
Returns a dependent disposable that when disposed decreases the refcount on the underlying disposable.
Namespace: System.Reactive.Disposables
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Public Function GetDisposable As IDisposable
'Usage
Dim instance As RefCountDisposable
Dim returnValue As IDisposable
returnValue = instance.GetDisposable()
public IDisposable GetDisposable()
public:
IDisposable^ GetDisposable()
member GetDisposable : unit -> IDisposable
public function GetDisposable() : IDisposable
Return Value
Type: System.IDisposable
A dependent disposable contributing to the reference count that manages the underlying disposable's lifetime.