Share via


EqtBaseCollection<T>.IEnumerable<T>.GetEnumerator Method

Returns a typed IEnumerator.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator(Of T)
    Implements IEnumerable(Of T).GetEnumerator
IEnumerator<T> IEnumerable<T>.GetEnumerator()
private:
virtual IEnumerator<T>^ GetEnumerator() sealed = IEnumerable<T>::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator<'T> 
private override GetEnumerator : unit -> IEnumerator<'T> 
JScript does not support explicit interface implementations.

Return Value

Type: System.Collections.Generic.IEnumerator<T>
An IEnumerator of a type that matches the generic type that was declared when the collection was created.

Implements

IEnumerable<T>.GetEnumerator()

Remarks

This member is an explicit interface member implementation. It can be used only when the EqtBaseCollection<T> instance is cast to an IEnumerable<T> interface.

.NET Framework Security

See Also

Reference

EqtBaseCollection<T> Class

Microsoft.VisualStudio.TestTools.Common Namespace