IVsTextLayer.GetBaseBuffer Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function GetBaseBuffer ( _
<OutAttribute> ByRef ppiBuf As IVsTextLines _
) As Integer
int GetBaseBuffer(
out IVsTextLines ppiBuf
)
int GetBaseBuffer(
[OutAttribute] IVsTextLines^% ppiBuf
)
abstract GetBaseBuffer :
ppiBuf:IVsTextLines byref -> int
function GetBaseBuffer(
ppiBuf : IVsTextLines
) : int
Parameters
- ppiBuf
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines%
[out] Base buffer. ppiBuf is AddRef'd.
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 IVsTextLayer::GetBaseBuffer(
[out] IVsTextLines **ppiBuf
);
.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.