Share via


ReadOnlyObservableSet<T>.GetEnumerator Method

Returns an enumerator that iterates through the ReadOnlyObservableSet<T>.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of T)
public IEnumerator<T> GetEnumerator()
public:
virtual IEnumerator<T>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<'T> 
override GetEnumerator : unit -> IEnumerator<'T> 
public final function GetEnumerator() : IEnumerator<T>

Return Value

Type: System.Collections.Generic.IEnumerator<T>
An enumerator object for the ReadOnlyObservableSet(T) object.

Implements

IEnumerable<T>.GetEnumerator()

.NET Framework Security

See Also

Reference

ReadOnlyObservableSet<T> Class

Microsoft.VisualStudio.Shell Namespace