Compartilhar via


ReadOnlyObservableSet<T>.GetEnumerator Method

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

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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: IEnumerator<T>
An enumerator object for the ReadOnlyObservableSet(T) object.

Implements

IEnumerable.GetEnumerator

.NET Framework Security

See Also

Reference

ReadOnlyObservableSet<T> Class

Microsoft.VisualStudio.Shell Namespace