IVsEditorAdaptersFactoryService.CreateVsTextViewAdapter Method (IServiceProvider)
Creates an IVsTextView.
Namespace: Microsoft.VisualStudio.Editor
Assembly: Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)
Syntax
'宣言
Function CreateVsTextViewAdapter ( _
serviceProvider As IServiceProvider _
) As IVsTextView
IVsTextView CreateVsTextViewAdapter(
IServiceProvider serviceProvider
)
IVsTextView^ CreateVsTextViewAdapter(
IServiceProvider^ serviceProvider
)
abstract CreateVsTextViewAdapter :
serviceProvider:IServiceProvider -> IVsTextView
function CreateVsTextViewAdapter(
serviceProvider : IServiceProvider
) : IVsTextView
Parameters
- serviceProvider
Type: Microsoft.VisualStudio.OLE.Interop.IServiceProvider
The IServiceProvider with which to site the text view.
Return Value
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView
The new text view.
.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.
See Also
Reference
IVsEditorAdaptersFactoryService Interface