共用方式為


VersionControlBranchVisualizerExt Class

Encapsulate the Branch Visualizer extensibility object

Inheritance Hierarchy

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

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

Syntax

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

The VersionControlBranchVisualizerExt type exposes the following members.

Properties

  Name Description
Public property ActiveWindow Get the most recently used branch visualizer tool window. This will return null if there is no active window.
Public property WindowList Returns an array of objects each representing a branch visualizer tool window.

Top

Methods

  Name Description
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 ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TrackChangeset Track a changeset
Public method TrackChangesets Track the specified changesets.
Public method TrackWorkItem Track a work item
Public method ViewBranchHierarchy View the branch hierarchy

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 the visualization is changed. This occurs after the initial rendering and after re-rendering like in Rerun Visualization when tracking changesets
Public event WindowClosing Raised when a branch visualizer is closing.
Public event WindowCreated Raised when a branch visualizer 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