共用方式為


VsTextBufferCoordinatorClass.GetSecondaryBuffer(IVsTextLines) Method

Definition

Returns the secondary language buffer.

public:
 virtual int GetSecondaryBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ % ppBuffer) = Microsoft::VisualStudio::TextManager::Interop::IVsTextBufferCoordinator::GetSecondaryBuffer;
public:
 virtual int GetSecondaryBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ % ppBuffer);
public:
 virtual int GetSecondaryBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ &  ppBuffer) = Microsoft::VisualStudio::TextManager::Interop::IVsTextBufferCoordinator::GetSecondaryBuffer;
 virtual int GetSecondaryBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines const & & ppBuffer);
public virtual int GetSecondaryBuffer (out Microsoft.VisualStudio.TextManager.Interop.IVsTextLines ppBuffer);
abstract member GetSecondaryBuffer : IVsTextLines -> int
override this.GetSecondaryBuffer : IVsTextLines -> int
Public Overridable Function GetSecondaryBuffer (ByRef ppBuffer As IVsTextLines) As Integer

Parameters

ppBuffer
IVsTextLines

[out] Returns an IVsTextLines object that represents the secondary buffer.

Returns

If successful, returns S_OK; otherwise, returns an error code.

Implements

Applies to