共用方式為


IVsTextLayer.GetBaseBuffer Method

Gets the base buffer of text lines.

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

Syntax

'宣告
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

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

See Also

Reference

IVsTextLayer Interface

Microsoft.VisualStudio.TextManager.Interop Namespace