Partager via


ITextEditorFactoryService.CreateTextView Method

Creates an IWpfTextView on a newly created ITextBuffer having content type "text".

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
Function CreateTextView As IWpfTextView
IWpfTextView CreateTextView()
IWpfTextView^ CreateTextView()
abstract CreateTextView : unit -> IWpfTextView
function CreateTextView() : IWpfTextView

Return Value

Type: Microsoft.VisualStudio.Text.Editor.IWpfTextView
A IWpfTextView.

.NET Framework Security

See Also

Reference

ITextEditorFactoryService Interface

CreateTextView Overload

Microsoft.VisualStudio.Text.Editor Namespace