IVsTextViewIntellisenseHost.GetContextFocalPoint(TextSpan[], 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.
The "focal point" or position in the context buffer that should be considered the starting context point
public:
int GetContextFocalPoint(cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pSpan, int % piLen);
int GetContextFocalPoint(std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & pSpan, int & piLen);
public int GetContextFocalPoint (Microsoft.VisualStudio.TextManager.Interop.TextSpan[] pSpan, ref int piLen);
abstract member GetContextFocalPoint : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] * int -> int
Public Function GetContextFocalPoint (pSpan As TextSpan(), ByRef piLen As Integer) As Integer
Parameters
- pSpan
- TextSpan[]
- piLen
- 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::GetContextFocalPoint([out] TextSpan *pSpan, long *piLen);