IVsEditorAdaptersFactoryService::CreateVsTextViewAdapter Method (IServiceProvider^, ITextViewRoleSet^)
Visual Studio 2015
Create an IVsTextView with a specified set of text view roles.
Assembly: Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)
IVsTextView^ CreateVsTextViewAdapter( IServiceProvider^ serviceProvider, ITextViewRoleSet^ roles )
Parameters
- serviceProvider
-
Type:
Microsoft.VisualStudio.OLE.Interop::IServiceProvider^
The IServiceProvider with which to site the IVsTextView.
- roles
-
Type:
Microsoft.VisualStudio.Text.Editor::ITextViewRoleSet^
The IVsTextView with which to initialize the text view.
Show: