IVsEditorAdaptersFactoryService.CreateVsTextBufferAdapter Method (IServiceProvider)
Creates an IVsTextBuffer.
Namespace: Microsoft.VisualStudio.Editor
Assembly: Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)
Syntax
'Declaration
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
serviceProvider
Type: Microsoft.VisualStudio.OLE.Interop.IServiceProviderThe IServiceProvider with which to site the IVsTextBuffer.
Return Value
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer
The new IVsTextBuffer.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsEditorAdaptersFactoryService Interface