IVsTextBufferCoordinator.GetPrimaryBuffer(IVsTextLines) Метод

Определение

Возвращает основной буфер языка.

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

Параметры

ppBuffer
IVsTextLines

[out] Возвращает объект IVsTextLines, который представляет первичный буфер.

Возвращаемое значение

Int32

Возвращает значение S_OK, если выполнение прошло успешно; в противном случае возвращает код ошибки.

Комментарии

Подпись COM

Из синглефилидитор. IDL:

HRESULT GetPrimaryBuffer(  
   [out] IVsTextLines **ppBuffer  
);  

Применяется к