Delen via


VersionControlHistoryExt.Show Method (String, VersionSpec, Int32, RecursionType, String, VersionSpec, VersionSpec, Int32, Nullable<Boolean>)

Shows history for the specified item.

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

Syntax

'Declaration
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
)
public:
VersionControlHistory^ Show(
    String^ itemPath, 
    VersionSpec^ version, 
    int deletionId, 
    RecursionType recursionType, 
    String^ userFilter, 
    VersionSpec^ versionFrom, 
    VersionSpec^ versionTo, 
    int maxVersions, 
    Nullable<bool> slotMode
)
member Show : 
        itemPath:string * 
        version:VersionSpec * 
        deletionId:int * 
        recursionType:RecursionType * 
        userFilter:string * 
        versionFrom:VersionSpec * 
        versionTo:VersionSpec * 
        maxVersions:int * 
        slotMode:Nullable<bool> -> VersionControlHistory
public function Show(
    itemPath : String, 
    version : VersionSpec, 
    deletionId : int, 
    recursionType : RecursionType, 
    userFilter : String, 
    versionFrom : VersionSpec, 
    versionTo : VersionSpec, 
    maxVersions : int, 
    slotMode : Nullable<boolean>
) : VersionControlHistory

Parameters

  • maxVersions
    Type: System.Int32

    The maximum number of versions to retrieve.

  • slotMode
    Type: System.Nullable<Boolean>

    True to show history for all items that have occupied the requested path.

Return Value

Type: Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlHistory
VersionControlHistory object

.NET Framework Security

See Also

Reference

VersionControlHistoryExt Class

Show Overload

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace