VersionControlHistory.Show 方法 (String, VersionSpec, Int32, RecursionType, String, VersionSpec, VersionSpec, Int32, Nullable<Boolean>)
显示所指定的项的历史记录对此历史记录工具窗口。
命名空间: Microsoft.VisualStudio.TeamFoundation.VersionControl
程序集: Microsoft.VisualStudio.TeamFoundation.VersionControl(在 Microsoft.VisualStudio.TeamFoundation.VersionControl.dll 中)
语法
声明
Public Sub Show ( _
serverPath As String, _
version As VersionSpec, _
deletionId As Integer, _
recursionType As RecursionType, _
userFilter As String, _
versionFrom As VersionSpec, _
versionTo As VersionSpec, _
maxVersions As Integer, _
slotMode As Nullable(Of Boolean) _
)
public void Show(
string serverPath,
VersionSpec version,
int deletionId,
RecursionType recursionType,
string userFilter,
VersionSpec versionFrom,
VersionSpec versionTo,
int maxVersions,
Nullable<bool> slotMode
)
参数
- serverPath
类型:System.String
project server 路径
- version
类型:Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
项目版本
- deletionId
类型:System.Int32
项目中删除 ID
- recursionType
类型:Microsoft.TeamFoundation.VersionControl.Client.RecursionType
递归类型
- userFilter
类型:System.String
用户筛选器
- versionFrom
类型:Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
版本范围的开头
- versionTo
类型:Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
版本范围的结束位置
- maxVersions
类型:System.Int32
检索版本的最大数目
- slotMode
类型:System.Nullable<Boolean>
true 显示占用请求的路径中的所有项的历史记录
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。