Delen via


VersionControlAnnotate.GetRegionForLine Method

Get the annotate region for the specified line. Regions cannot be retrieved until the annotate operation has completed.

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

Syntax

'Declaration
Public Function GetRegionForLine ( _
    line As Integer _
) As VersionControlAnnotateRegion
public VersionControlAnnotateRegion GetRegionForLine(
    int line
)
public:
VersionControlAnnotateRegion^ GetRegionForLine(
    int line
)
member GetRegionForLine : 
        line:int -> VersionControlAnnotateRegion
public function GetRegionForLine(
    line : int
) : VersionControlAnnotateRegion

Parameters

Return Value

Type: Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlAnnotateRegion
Annotate region for the line

.NET Framework Security

See Also

Reference

VersionControlAnnotate Class

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace