共用方式為


VersionControlServer.GetChangesForChangeset Method (Int32, Boolean, Int32, ItemSpec, array<String[], array<String , Boolean)

Gets the changes within a Changeset.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Function GetChangesForChangeset ( _
    changesetId As Integer, _
    includeDownloadInfo As Boolean, _
    pageSize As Integer, _
    lastItem As ItemSpec, _
    itemAttributeFilters As String(), _
    itemPropertyFilters As String(), _
    includeMergeSourceInfo As Boolean _
) As Change()
public Change[] GetChangesForChangeset(
    int changesetId,
    bool includeDownloadInfo,
    int pageSize,
    ItemSpec lastItem,
    string[] itemAttributeFilters,
    string[] itemPropertyFilters,
    bool includeMergeSourceInfo
)
public:
array<Change^>^ GetChangesForChangeset(
    int changesetId, 
    bool includeDownloadInfo, 
    int pageSize, 
    ItemSpec^ lastItem, 
    array<String^>^ itemAttributeFilters, 
    array<String^>^ itemPropertyFilters, 
    bool includeMergeSourceInfo
)
member GetChangesForChangeset : 
        changesetId:int * 
        includeDownloadInfo:bool * 
        pageSize:int * 
        lastItem:ItemSpec * 
        itemAttributeFilters:string[] * 
        itemPropertyFilters:string[] * 
        includeMergeSourceInfo:bool -> Change[] 
public function GetChangesForChangeset(
    changesetId : int, 
    includeDownloadInfo : boolean, 
    pageSize : int, 
    lastItem : ItemSpec, 
    itemAttributeFilters : String[], 
    itemPropertyFilters : String[], 
    includeMergeSourceInfo : boolean
) : Change[]

Parameters

  • includeDownloadInfo
    Type: System.Boolean

    true to get the information needed to download files. Specify false to save bandwidth if not necessary.

  • itemAttributeFilters
    Type: array<System.String[]

    The item attribute filter.

  • itemPropertyFilters
    Type: array<System.String[]

    The item property filter.

  • includeMergeSourceInfo
    Type: System.Boolean

    True to include source information about renames / merges. False to not include these.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.Change[]
Array of Change objects.

.NET Framework Security

See Also

Reference

VersionControlServer Class

GetChangesForChangeset Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace