Freigeben über


IVsTextViewIntellisenseHost.GetContextFocalPoint(TextSpan[], Int32) Method

Definition

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

Applies to