次の方法で共有


IVsEditorAdaptersFactoryService.CreateVsTextBufferAdapter Method (IServiceProvider)

Creates an IVsTextBuffer.

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

Syntax

'宣言
Function CreateVsTextBufferAdapter ( _
    serviceProvider As IServiceProvider _
) As IVsTextBuffer
IVsTextBuffer CreateVsTextBufferAdapter(
    IServiceProvider serviceProvider
)
IVsTextBuffer^ CreateVsTextBufferAdapter(
    IServiceProvider^ serviceProvider
)
abstract CreateVsTextBufferAdapter : 
        serviceProvider:IServiceProvider -> IVsTextBuffer 
function CreateVsTextBufferAdapter(
    serviceProvider : IServiceProvider
) : IVsTextBuffer

Parameters

Return Value

Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer
The new IVsTextBuffer.

.NET Framework Security

See Also

Reference

IVsEditorAdaptersFactoryService Interface

CreateVsTextBufferAdapter Overload

Microsoft.VisualStudio.Editor Namespace