IVsTextViewIntellisenseHost::GetSubjectSelection Method (Int32, Int32)

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

int GetSubjectSelection(
	[OutAttribute] int% piAnchorIndex,
	[OutAttribute] int% piEndIndex
)

Parameters

piAnchorIndex
Type: System::Int32

 

piEndIndex
Type: System::Int32

 

Return Value

Type: System::Int32

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

From singlefileeditor.idl:

HRESULT IVsTextViewIntellisenseHost::GetSubjectSelection([out] long *piAnchorIndex, [out] long *piEndIndex);
Return to top
Show: