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
- itemPath 
 Type: System.String- Item path. 
- version 
 Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec- Item version. 
- deletionId 
 Type: System.Int32- Item deletion ID. 
- recursionType 
 Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType- Recursion type. 
- userFilter 
 Type: System.String- User filter. 
- versionFrom 
 Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec- The start of the version range. 
- versionTo 
 Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec- The end of the version range. 
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
VersionControlHistoryExt Class
Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace