Share via


VersionControlAnnotateExt.AnnotateFile 方法

说明中指定的文件。

命名空间:  Microsoft.VisualStudio.TeamFoundation.VersionControl
程序集:  Microsoft.VisualStudio.TeamFoundation.VersionControl(在 Microsoft.VisualStudio.TeamFoundation.VersionControl.dll 中)

语法

声明
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
)

参数

  • focusedLine
    类型:System.Int32
    在编辑器的行 (0 将针对默认值)

返回值

类型:Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlAnnotate
返回 VersionControlAnnotate

.NET Framework 安全性

请参阅

参考

VersionControlAnnotateExt 类

Microsoft.VisualStudio.TeamFoundation.VersionControl 命名空间