共用方式為


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
)

參數

  • maxVersions
    類型:System.Int32
    要擷取之版本的最大數目。
  • slotMode
    類型:System.Nullable<Boolean>
    true 表示顯示佔據了要求的路徑的所有項目的記錄

.NET Framework 安全性

請參閱

參考

VersionControlHistory 類別

Show 多載

Microsoft.VisualStudio.TeamFoundation.VersionControl 命名空間