VersionControlAnnotateExt.AnnotateFile Method

Annotate the specified file.

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

Syntax

'Declaration
Public Function AnnotateFile ( _
    itemPath As String, _
    version As VersionSpec, _
    deletionId As Integer, _
    focusedLine As Integer _
) As VersionControlAnnotate
public VersionControlAnnotate AnnotateFile(
    string itemPath,
    VersionSpec version,
    int deletionId,
    int focusedLine
)
public:
VersionControlAnnotate^ AnnotateFile(
    String^ itemPath, 
    VersionSpec^ version, 
    int deletionId, 
    int focusedLine
)
member AnnotateFile : 
        itemPath:string * 
        version:VersionSpec * 
        deletionId:int * 
        focusedLine:int -> VersionControlAnnotate
public function AnnotateFile(
    itemPath : String, 
    version : VersionSpec, 
    deletionId : int, 
    focusedLine : int
) : VersionControlAnnotate

Parameters

  • focusedLine
    Type: System.Int32

    Line that will be focused in the editor (0 for default)

Return Value

Type: Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlAnnotate
Returns VersionControlAnnotate.

.NET Framework Security

See Also

Reference

VersionControlAnnotateExt Class

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace