Udostępnij za pośrednictwem


IVsHiddenRegion.GetBaseBuffer(IVsTextLines) Method

Definition

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.

Applies to