ITextEditorFactoryService.CreateTextView 方法

创建具有新创建的 ITextBufferIWpfTextView 内容类型 “text”。

命名空间:  Microsoft.VisualStudio.Text.Editor
程序集:  Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

语法

声明
Function CreateTextView As IWpfTextView
IWpfTextView CreateTextView()
IWpfTextView^ CreateTextView()
abstract CreateTextView : unit -> IWpfTextView
function CreateTextView() : IWpfTextView

返回值

类型:Microsoft.VisualStudio.Text.Editor.IWpfTextView
一个 IWpfTextView

.NET Framework 安全性

请参阅

参考

ITextEditorFactoryService 接口

CreateTextView 重载

Microsoft.VisualStudio.Text.Editor 命名空间