IVsTextTrackingPoint::GetCurrentLineIndex Method (Int32, Int32)

 

Gets the tracking point current line and index.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int GetCurrentLineIndex(
	[OutAttribute] int% piLine,
	[OutAttribute] int% piIndex
)

Parameters

piLine
Type: System::Int32

[out] The line number of the tracking point.

piIndex
Type: System::Int32

[out] The line index of the tracking point.

Return Value

Type: System::Int32

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

From textmgr.idl:

HRESULT IVsTextTrackingPoint::GetCurrentLineIndex(

   [out] long *piLine,

   [out] long *piIndex

);

Return to top
Show: