Compartilhar via


Task.IVsTaskItem.Line(Int32) Method

Definition

Gets the line number of the file associated with the task.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.Line([Runtime::InteropServices::Out] int % line) = Microsoft::VisualStudio::Shell::Interop::IVsTaskItem::Line;
int IVsTaskItem.Line (out int line);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.Line : int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.Line : int -> int
Function Line (ByRef line As Integer) As Integer Implements IVsTaskItem.Line

Parameters

line
Int32

[out] Returns the line number of the file.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to