IVsTextViewIntellisenseHost.GetSubjectSelection(Int32, 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.
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);