Compartilhar via


IVsEditorAdaptersFactoryService.CreateVsTextViewAdapter Method (IServiceProvider, ITextViewRoleSet)

Create an IVsTextView with a specified set of text view roles.

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

Syntax

'Declaração
Function CreateVsTextViewAdapter ( _
    serviceProvider As IServiceProvider, _
    roles As ITextViewRoleSet _
) As IVsTextView
IVsTextView CreateVsTextViewAdapter(
    IServiceProvider serviceProvider,
    ITextViewRoleSet roles
)
IVsTextView^ CreateVsTextViewAdapter(
    IServiceProvider^ serviceProvider, 
    ITextViewRoleSet^ roles
)
abstract CreateVsTextViewAdapter : 
        serviceProvider:IServiceProvider * 
        roles:ITextViewRoleSet -> IVsTextView 
function CreateVsTextViewAdapter(
    serviceProvider : IServiceProvider, 
    roles : ITextViewRoleSet
) : IVsTextView

Parameters

Return Value

Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView
The new text view.

.NET Framework Security

See Also

Reference

IVsEditorAdaptersFactoryService Interface

CreateVsTextViewAdapter Overload

Microsoft.VisualStudio.Editor Namespace