ITextEditorFactoryService::CreateTextViewHost Method (IWpfTextView^, Boolean)
Visual Studio 2015
Creates a host for the text view.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Parameters
- wpfTextView
-
Type:
Microsoft.VisualStudio.Text.Editor::IWpfTextView^
The text view to host.
- setFocus
-
Type:
System::Boolean
true if the IWpfTextViewHost should take focus after it is initialized, false otherwise.
| Exception | Condition |
|---|---|
| ArgumentNullException | wpfTextView is null. |
Show: