TeamFoundationDataReader.CurrentEnumerable<T> Method
Gets the current enumerable (of the specified type) object in the reader.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function CurrentEnumerable(Of T) As IEnumerable(Of T)
public IEnumerable<T> CurrentEnumerable<T>()
public:
generic<typename T>
IEnumerable<T>^ CurrentEnumerable()
member CurrentEnumerable : unit -> IEnumerable<'T>
JScript does not support generic types or methods.
Type Parameters
- T
The type of the enumerable
Return Value
Type: System.Collections.Generic.IEnumerable<T>
The current enumerable, strongly typed
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | If there are no more results left in the reader |
InvalidCastException | If the current object in the reader is not an IEnumerable of the given type. |
.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.