Share via


VersionControlServer.GetChangesForChangeset 方法 (Int32, Boolean, Int32, ItemSpec, array<String , Boolean)

获取在 Changeset中的更改。允许调用方调用更改从服务器。

命名空间:  Microsoft.TeamFoundation.VersionControl.Client
程序集:  Microsoft.TeamFoundation.VersionControl.Client(在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)

语法

声明
Public Function GetChangesForChangeset ( _
    changesetId As Integer, _
    includeDownloadInfo As Boolean, _
    pageSize As Integer, _
    lastItem As ItemSpec, _
    itemAttributeFilters As String(), _
    includeMergeSourceInfo As Boolean _
) As Change()
public Change[] GetChangesForChangeset(
    int changesetId,
    bool includeDownloadInfo,
    int pageSize,
    ItemSpec lastItem,
    string[] itemAttributeFilters,
    bool includeMergeSourceInfo
)

参数

  • includeDownloadInfo
    类型:System.Boolean
    true 获取必需的信息下载文件。指定错误节省带宽,如果不需要。
  • itemAttributeFilters
    类型:array<System.String[]
    属性名称的筛选应用于每个结果。
  • includeMergeSourceInfo
    类型:System.Boolean
    true 包含源有关重命名/合并。错误不将它们。

返回值

类型:array<Microsoft.TeamFoundation.VersionControl.Client.Change[]
Change 对象数组。

备注

lastItem 应为空在第一次调用此方法,随后应是中的最后在中看到的值对的后续调用。

.NET Framework 安全性

请参见

参考

VersionControlServer 类

GetChangesForChangeset 重载

Microsoft.TeamFoundation.VersionControl.Client 命名空间