共用方式為


VersionControlHistoryExt.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 Function Show ( _
    itemPath 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) _
) As VersionControlHistory
public VersionControlHistory Show(
    string itemPath,
    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 表示顯示佔據了要求的路徑的所有項目的記錄。

傳回值

類型:Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlHistory
VersionControlHistory 物件

.NET Framework 安全性

請參閱

參考

VersionControlHistoryExt 類別

Show 多載

Microsoft.VisualStudio.TeamFoundation.VersionControl 命名空間