Task.IVsTaskItem.Line 方法

获取文件中的行号与任务。

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

语法

声明
Private Function Line ( _
    <OutAttribute> ByRef line As Integer _
) As Integer Implements IVsTaskItem.Line
int IVsTaskItem.Line(
    out int line
)

参数

  • line
    类型:System.Int32%
    [out] 返回文件的行号。

返回值

类型:System.Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

实现

IVsTaskItem.Line(Int32%)

.NET Framework 安全性

请参见

参考

Task 类

Microsoft.VisualStudio.Shell 命名空间