SerialDisposable.Disposable Property
Gets or sets the underlying disposable.
Namespace: System.Reactive.Disposables
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Public Property Disposable As IDisposable
Get
Set
'Usage
Dim instance As SerialDisposable
Dim value As IDisposable
value = instance.Disposable
instance.Disposable = value
public IDisposable Disposable { get; set; }
public:
property IDisposable^ Disposable {
IDisposable^ get ();
void set (IDisposable^ value);
}
member Disposable : IDisposable with get, set
function get Disposable () : IDisposable
function set Disposable (value : IDisposable)
Property Value
Type: System.IDisposable
Returns the underlyingIDisposable.
Remarks
If the SerialDisposable has already been disposed, assignment to this property causes immediate disposal of the given disposable object. Assigning this property disposes the previous disposable object.