共用方式為


VersionControlHistory Class

Wrapper for a History tool window.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlBaseToolWindowExt
    Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlHistory

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

Syntax

'Declaration
Public NotInheritable Class VersionControlHistory _
    Inherits VersionControlBaseToolWindowExt
public sealed class VersionControlHistory : VersionControlBaseToolWindowExt
public ref class VersionControlHistory sealed : public VersionControlBaseToolWindowExt
[<Sealed>]
type VersionControlHistory =  
    class 
        inherit VersionControlBaseToolWindowExt 
    end
public final class VersionControlHistory extends VersionControlBaseToolWindowExt

The VersionControlHistory type exposes the following members.

Properties

  Name Description
Public property ActiveChannel Get/set the active channel in this history tool window.
Public property DeletionId Get the deletion ID of the file displayed in this history tool window.
Public property IsBusy Returns true if any channel is currently retrieving history.
Public property ItemPath Get the item path of the file displayed in this history tool window. This may be a server path or local path.
Public property MaxVersions Get the max versions for this history tool window.
Public property RecursionType Get the recursion type for this history tool window.
Public property SelectedChangesets Get the selected changesets from the changesets channel.
Public property SelectedLabels Get the selected labels from the labels channel.
Public property SlotMode Get the slot mode flag for this history tool window.
Public property UserFilter Get the user filter for this history tool window.
Public property VersionFrom Get the version from for this history tool window.
Public property VersionSpec Get the version of the file displayed in this history tool window.
Public property VersionTo Get the version to for this history tool window.
Public property VsWindowFrame Get the IVsWindowFrame for this tool window. (Inherited from VersionControlBaseToolWindowExt.)

Top

Methods

  Name Description
Public method Close Close this history tool window.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Refresh Refresh this history tool window.
Public method Show(String, VersionSpec, Int32, RecursionType) Show history for the specified item.
Public method Show(String, VersionSpec, Int32, RecursionType, String, VersionSpec, VersionSpec, Int32, Nullable<Boolean>) Show the history for the specified item in this history tool window.
Public method Stop Stop the current history retrieval operation.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace