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
'Declaração
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
- 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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.