Compositedisposable

CompositeDisposable.GetEnumerator Method

Returns an enumerator that iterates through the CompositeDisposable.

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

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of IDisposable)
'Usage
Dim instance As CompositeDisposable
Dim returnValue As IEnumerator(Of IDisposable)

returnValue = instance.GetEnumerator()
public IEnumerator<IDisposable> GetEnumerator()
public:
virtual IEnumerator<IDisposable^>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<IDisposable> 
override GetEnumerator : unit -> IEnumerator<IDisposable> 
public final function GetEnumerator() : IEnumerator<IDisposable>

Return Value

Type: System.Collections.Generic.IEnumerator<IDisposable>
An enumerator to iterate over the disposables.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

CompositeDisposable Class

System.Reactive.Disposables Namespace