共用方式為


IVsIntellisenseHost.GetContextBuffer(IVsTextLines) Method

Definition

Gets the context buffer for IntelliSense.

public:
 int GetContextBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ % ppCtxBuffer);
public:
 int GetContextBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ &  ppCtxBuffer);
int GetContextBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines const & & ppCtxBuffer);
public int GetContextBuffer (out Microsoft.VisualStudio.TextManager.Interop.IVsTextLines ppCtxBuffer);
abstract member GetContextBuffer : IVsTextLines -> int
Public Function GetContextBuffer (ByRef ppCtxBuffer As IVsTextLines) As Integer

Parameters

ppCtxBuffer
IVsTextLines

[out, retval] The context 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::GetContextBuffer([out, retval] IVsTextLines **ppCtxBuffer);

Applies to