Megosztás a következőn keresztül:


ResultCollection Class

Represents a collection of results returned from the database.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.ResultCollection

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

Syntax

'Declaration
Public Class ResultCollection _
    Implements IDisposable
public class ResultCollection : IDisposable
public ref class ResultCollection : IDisposable
type ResultCollection =  
    class 
        interface IDisposable 
    end
public class ResultCollection implements IDisposable

The ResultCollection type exposes the following members.

Constructors

  Name Description
Public method ResultCollection(IDataReader, String, TeamFoundationRequestContext)
Public method ResultCollection(IDataReader, Int32, String, SqlExceptionHandler, TeamFoundationRequestContext)

Top

Properties

  Name Description
Public property RequestContext

Top

Methods

  Name Description
Public method AddBinder<T> Adds an ObjectBinder to the list
Public method Dispose Disposes associated Data Reader object
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize (Overrides Object.Finalize().)
Public method GetCurrent() Gets the current object binder without casting it.
Public method GetCurrent<T>() Gets the current object binder
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IncrementRowCounter Increments the row counter
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method NextResult Moves to the next result in the collection Throws an UnexpectedDatabaseResult exception if there is no other result
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryNextResult

Top

Thread Safety

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

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace