다음을 통해 공유


IVsTextStreamMarker.GetStreamBuffer(IVsTextStream) Method

Definition

Provides access to the associated text buffer.

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

Parameters

ppBuffer
IVsTextStream

[out] Pointer to the IVsTextStream 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 IVsTextStreamMarker::GetStreamBuffer(  
   [out] IVsTextStream **ppBuffer  
);  

This method can be used to return the underlying IVsTextStream object that contains the marker.

Applies to