VersionControlHistoryExt Class

This represents the History tool window(s).

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlBaseExt
    Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlHistoryExt

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

Syntax

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

The VersionControlHistoryExt type exposes the following members.

Properties

  Name Description
Public property ActiveWindow Gets the most recently used history tool window. This will return null if there is no active window.
Public property SelectedItems Obsolete. Gets the currently selected changesets in the History tool window. This property has been deprecated and may be removed in a future version. Please use the VersionControlHistory.SelectedChangesets property instead.
Public property WindowList Returns an array of objects each representing a History tool window.

Top

Methods

  Name Description
Public method Clear Obsolete. Clears the history 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 Show(String, VersionSpec, Int32, RecursionType) Shows history for the specified item.
Public method Show(VersionControlServer, String, VersionSpec, Int32, RecursionType) Obsolete. Shows history for the specified item.
Public method Show(String, VersionSpec, Int32, RecursionType, String, VersionSpec, VersionSpec, Int32, Nullable<Boolean>) Shows history for the specified item.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event SelectionChanged This event is fired when the selection changes in a version control window. (Inherited from VersionControlBaseExt.)
Public event WindowChanged Raised when a history window content has changed.
Public event WindowClosing Raised when a history window is closing.
Public event WindowCreated Raised when a history window is created.

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