Share via


IVsTextViewIntellisenseHost.GetSubjectSelection(Int32, Int32) Method

Definition

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

Parameters

piAnchorIndex
Int32

 

piEndIndex
Int32

 

Returns

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

Implements

Remarks

From singlefileeditor.idl:

HRESULT IVsTextViewIntellisenseHost::GetSubjectSelection([out] long *piAnchorIndex, [out] long *piEndIndex);  

Applies to