VsTextBufferCoordinatorClass::GetPrimaryBuffer Method (IVsTextLines^)

 

Returns the primary language buffer.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

public:
virtual int GetPrimaryBuffer(
	[OutAttribute] IVsTextLines^% ppBuffer
)

Parameters

ppBuffer
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^

[out] Returns an IVsTextLines object that represents the primary buffer.

Return Value

Type: System::Int32

If successful, returns S_OK; otherwise, returns an error code.

Return to top
Show: