次の方法で共有


IVsTextBufferProvider.GetTextBuffer(IVsTextLines) Method

Definition

Retrieves the contents of the text buffer.

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

Parameters

ppTextBuffer
IVsTextLines

[out] The contents of the text buffer.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsTextBufferProvider::GetTextBuffer(  
   [out] IVsTextLines **ppTextBuffer  
);  

Applies to