IVsEditorAdaptersFactoryService::CreateVsTextBufferAdapterForSecondaryBuffer Method (IServiceProvider^, ITextBuffer^)

 

Creates an IVsTextBuffer for the secondary buffer (used in IVsTextBufferCoordinator) for the specified ITextBuffer.

Namespace:   Microsoft.VisualStudio.Editor
Assembly:  Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)

IVsTextBuffer^ CreateVsTextBufferAdapterForSecondaryBuffer(
	IServiceProvider^ serviceProvider,
	ITextBuffer^ secondaryBuffer
)

Parameters

serviceProvider
Type: Microsoft.VisualStudio.OLE.Interop::IServiceProvider^

The IServiceProvider with which to site the IVsTextBuffer.

secondaryBuffer
Type: Microsoft.VisualStudio.Text::ITextBuffer^

The ITextBuffer with which to create the IVsTextBuffer.

Return to top
Show: