Share via


EditorFactoryBase.CreateEditorInstance Method

Creates an instance of the editor.

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly:  SQLEditors.VS (in SQLEditors.VS.dll)

Syntax

'Declaration
Protected Friend MustOverride Function CreateEditorInstance ( _
    serviceProvider As IServiceProvider, _
    storeActiveConnIfNeeded As Boolean, _
    moniker As String _
) As IDocWindowPane
'Usage
Dim serviceProvider As IServiceProvider
Dim storeActiveConnIfNeeded As Boolean
Dim moniker As String
Dim returnValue As IDocWindowPane

returnValue = Me.CreateEditorInstance(serviceProvider, _
    storeActiveConnIfNeeded, moniker)
protected internal abstract IDocWindowPane CreateEditorInstance(
    IServiceProvider serviceProvider,
    bool storeActiveConnIfNeeded,
    string moniker
)
protected public:
virtual IDocWindowPane^ CreateEditorInstance(
    IServiceProvider^ serviceProvider, 
    bool storeActiveConnIfNeeded, 
    String^ moniker
) abstract
abstract CreateEditorInstance : 
        serviceProvider:IServiceProvider * 
        storeActiveConnIfNeeded:bool * 
        moniker:string -> IDocWindowPane 
 abstract function CreateEditorInstance(
    serviceProvider : IServiceProvider, 
    storeActiveConnIfNeeded : boolean, 
    moniker : String
) : IDocWindowPane

Parameters

  • serviceProvider
    Type: IServiceProvider
    The IServiceProvider object to use.
  • storeActiveConnIfNeeded
    Type: System.Boolean
    A Boolean object that indicates whether the connection need to be cached.
  • moniker
    Type: System.String
    A string value that specifies the document moniker.

Return Value

Type: Microsoft.SqlServer.Management.UI.VSIntegration.Editors.IDocWindowPane
An IDocWindowPane representing an instance of the editor.