IVsIntellisenseHost.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.
Returns the position in the context buffer that is 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
- piLen
- Int32
Length of the buffer.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
C++
From singlefileeditor.idl:
HRESULT IVsIntellisenseHost::GetContextFocalPoint([out] TextSpan *pSpan, long *piLen);