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
声明
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
- 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.