Task.IVsTaskItem.Line(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.