IVsHiddenRegion::GetBaseBuffer Method (IVsTextLines^)

 

Provides a pointer to the text buffer from the hidden region.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int GetBaseBuffer(
	[OutAttribute] IVsTextLines^% ppBuffer
)

Parameters

ppBuffer
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^

[out] Pointer to the text buffer. For more information, see IVsTextLines 

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

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.

Return to top
Show: