Share via


IVsHiddenRegion.GetBaseBuffer Method

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)

Syntax

'Declaration
Function GetBaseBuffer ( _
    <OutAttribute> ByRef ppBuffer As IVsTextLines _
) As Integer
int GetBaseBuffer(
    out IVsTextLines ppBuffer
)
int GetBaseBuffer(
    [OutAttribute] IVsTextLines^% ppBuffer
)
abstract GetBaseBuffer : 
        ppBuffer:IVsTextLines byref -> int
function GetBaseBuffer(
    ppBuffer : IVsTextLines
) : int

Parameters

Return Value

Type: System.Int32
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.

.NET Framework Security

See Also

Reference

IVsHiddenRegion Interface

Microsoft.VisualStudio.TextManager.Interop Namespace