This collection enables access to the objects through both a generic and non-generic enumerator.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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>
Returns IEnumerator<T>.
Implements
IEnumerable<T>.GetEnumerator()
Exceptions
| Exception | Condition | 
|---|---|
| StreamingCollectionUnsupportedOperationException | Thrown if a second enumerator is requested after elements have been consumed. | 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.