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
- line 
 Type: System.Int32- The line to get the region for 
Return Value
Type: Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlAnnotateRegion
Annotate region for the line
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace