IVsCodeDefViewContext.GetLine(UInt32, UInt32) 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.
Retrieves the line position of an item based on its index in a list of context items.
public:
int GetLine(System::UInt32 iItem, [Runtime::InteropServices::Out] System::UInt32 % piLine);
int GetLine(unsigned int iItem, [Runtime::InteropServices::Out] unsigned int & piLine);
public int GetLine (uint iItem, out uint piLine);
abstract member GetLine : uint32 * uint32 -> int
Public Function GetLine (iItem As UInteger, ByRef piLine As UInteger) As Integer
Parameters
- iItem
- UInt32
[in] Index of the context item.
- piLine
- UInt32
[out] Line number of the item in the Code Definition tool window.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsCodeDefViewContext::GetLine(
ULONG iItem,
ULONG *piLine
);