Udostępnij za pośrednictwem


IVsTextLineMarker.GetLineBuffer(IVsTextLines) Method

Definition

Provides access to an associated text buffer.

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

Parameters

ppBuffer
IVsTextLines

[out] Pointer to the IVsTextLines interface of the associated buffer.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextLineMarker::GetLineBuffer(  
   [out] IVsTextLines **ppBuffer  
);  

This method can be used to get the underlying IVsTextLines object that contains the marker.

Applies to