ResultCollection Class

Represents a collection of results returned from the database.


Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

public class ResultCollection : IDisposable

The ResultCollection type exposes the following members.

Public propertyRequestContext

Public methodAddBinder<T>Adds an ObjectBinder to the list
Public methodDisposeDisposes associated Data Reader object
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalize (Overrides Object.Finalize().)
Public methodGetCurrent()Gets the current object binder without casting it.
Public methodGetCurrent<T>()Gets the current object binder
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIncrementRowCounterIncrements the row counter
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodNextResultMoves to the next result in the collection Throws an UnexpectedDatabaseResult exception if there is no other result
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodTryNextResult

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.