Task::IVsTaskItem::Line Method (Int32)

 

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

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

private:
virtual int Line(
	[OutAttribute] int% line
) sealed = IVsTaskItem::Line

Parameters

line
Type: System::Int32

[out] Returns the line number of the file.

Return Value

Type: System::Int32

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

Return to top
Show: