共用方式為


IVsTextLayer.GetBaseBuffer(IVsTextLines) Method

Definition

Gets the base buffer of text lines.

public:
 int GetBaseBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ % ppiBuf);
public:
 int GetBaseBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ &  ppiBuf);
int GetBaseBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines const & & ppiBuf);
public int GetBaseBuffer (out Microsoft.VisualStudio.TextManager.Interop.IVsTextLines ppiBuf);
abstract member GetBaseBuffer : IVsTextLines -> int
Public Function GetBaseBuffer (ByRef ppiBuf As IVsTextLines) As Integer

Parameters

ppiBuf
IVsTextLines

[out] Base buffer. ppiBuf is AddRef'd.

Returns

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  
);  

Applies to