IVsHiddenRegion.GetBaseBuffer(IVsTextLines) 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.
Provides a pointer to the text buffer from the hidden region.
public:
int GetBaseBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ % ppBuffer);
public:
int GetBaseBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ & ppBuffer);
int GetBaseBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines const & & ppBuffer);
public int GetBaseBuffer (out Microsoft.VisualStudio.TextManager.Interop.IVsTextLines ppBuffer);
abstract member GetBaseBuffer : IVsTextLines -> int
Public Function GetBaseBuffer (ByRef ppBuffer As IVsTextLines) As Integer
Parameters
- ppBuffer
- IVsTextLines
[out] Pointer to the text buffer. For more information, see IVsTextLines
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsHiddenRegion::GetBaseBuffer(
[out] IVsTextLines **ppBuffer
);
Use this method to access the text buffer from the hidden region. The pointer to ppBuffer
is AddReferenced.