Sdílet prostřednictvím


IVsTextTrackingPoint.GetCurrentLineIndex(Int32, Int32) Method

Definition

Gets the tracking point current line and index.

public:
 int GetCurrentLineIndex([Runtime::InteropServices::Out] int % piLine, [Runtime::InteropServices::Out] int % piIndex);
int GetCurrentLineIndex([Runtime::InteropServices::Out] int & piLine, [Runtime::InteropServices::Out] int & piIndex);
public int GetCurrentLineIndex (out int piLine, out int piIndex);
abstract member GetCurrentLineIndex : int * int -> int
Public Function GetCurrentLineIndex (ByRef piLine As Integer, ByRef piIndex As Integer) As Integer

Parameters

piLine
Int32

[out] The line number of the tracking point.

piIndex
Int32

[out] The line index of the tracking point.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextTrackingPoint::GetCurrentLineIndex(

[out] long *piLine,

[out] long *piIndex

);

Applies to