Delen via


VersionControlAnnotate.SelectedRegions Property

Get the selected annotate region for this annotation viewer. The selected region is the only region available before the annotate operation has completed.

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

Syntax

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

Property Value

Type: array<Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlAnnotateRegion[]
Returns VersionControlAnnotateRegion.

Remarks

This is consistent with the annotate tool window behavior where operations can be done on the selected region at any time. This currently only allows a single selected region.

.NET Framework Security

See Also

Reference

VersionControlAnnotate Class

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace