共用方式為


IVsEditorAdaptersFactoryService.CreateVsTextViewAdapter Method (IServiceProvider)

Creates an IVsTextView.

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

Syntax

'宣告
Function CreateVsTextViewAdapter ( _
    serviceProvider As IServiceProvider _
) As IVsTextView
IVsTextView CreateVsTextViewAdapter(
    IServiceProvider serviceProvider
)
IVsTextView^ CreateVsTextViewAdapter(
    IServiceProvider^ serviceProvider
)
abstract CreateVsTextViewAdapter : 
        serviceProvider:IServiceProvider -> IVsTextView 
function CreateVsTextViewAdapter(
    serviceProvider : IServiceProvider
) : 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