IVsIntellisenseHost.GetContextFocalPoint(TextSpan[], Int32) Method

Definition

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

pSpan
TextSpan[]

[out] The TextSpan containing the IntelliSense context.

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);

Applies to