Delen via


VersionControlBranchVisualizer.SelectedBranches Property

Get the list of selected branches currently in the visualization and in the active view. For example, in a tracking visualizer, the active view can be the timeline or the hierarchy view.

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

Syntax

'Declaration
Public ReadOnly Property SelectedBranches As VersionControlBranchVisualizerBranch()
public VersionControlBranchVisualizerBranch[] SelectedBranches { get; }
public:
property array<VersionControlBranchVisualizerBranch^>^ SelectedBranches {
    array<VersionControlBranchVisualizerBranch^>^ get ();
}
member SelectedBranches : VersionControlBranchVisualizerBranch[] with get
function get SelectedBranches () : VersionControlBranchVisualizerBranch[]

Property Value

Type: array<Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlBranchVisualizerBranch[]
branches or null if visualizer not valid

.NET Framework Security

See Also

Reference

VersionControlBranchVisualizer Class

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace