IVsTextViewIntellisenseHost::GetContextLocation Method (Int32, Int32, Int32, array<RECT>^, Int32)
Visual Studio 2015
Namespace:
Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Return to top
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
int GetContextLocation( int iPos, int iLen, int fUseCaretPosition, array<RECT>^ prc, [OutAttribute] int% piTopX )
Parameters
- iPos
-
Type:
System::Int32
- iLen
-
Type:
System::Int32
- fUseCaretPosition
-
Type:
System::Int32
- prc
-
Type:
array<Microsoft.VisualStudio.OLE.Interop::RECT>^
- piTopX
-
Type:
System::Int32
Return Value
Type: System::Int32If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.
From singlefileeditor.idl:
HRESULT IVsTextViewIntellisenseHost::GetContextLocation([in]long iPos, [in]long iLen, [in] bool fUseCaretPosition, [out]RECT *prc, [out]long *piTopX);
Show: