次の方法で共有


ICustomEditorFactory.CreateCustomEditor メソッド

v2 に適用されます。

カスタム エディターを作成します。

名前空間:  Microsoft.WebMatrix.Extensibility.Editor
アセンブリ:  Microsoft.WebMatrix.Extensibility (Microsoft.WebMatrix.Extensibility.dll)

構文

'宣言
Function CreateCustomEditor ( _
    fileName As String, _
    <OutAttribute> ByRef loaderDelegate As Func, _
    <OutAttribute> saverDelegate As Boolean _
) As IEditor
'使用
Dim instance As ICustomEditorFactory 
Dim fileName As String 
Dim loaderDelegate As Func 
Dim saverDelegate As Boolean 
Dim returnValue As IEditor 

returnValue = instance.CreateCustomEditor(fileName, _
    loaderDelegate, saverDelegate)
IEditor CreateCustomEditor(
    string fileName,
    out Func loaderDelegate,
    bool saverDelegate
)
IEditor^ CreateCustomEditor(
    String^ fileName, 
    [OutAttribute] Func^% loaderDelegate, 
    [OutAttribute] bool saverDelegate
)
abstract CreateCustomEditor : 
        fileName:string * 
        loaderDelegate:Func byref * 
        saverDelegate:bool byref -> IEditor
function CreateCustomEditor(
    fileName : String, 
    loaderDelegate : Func, 
    saverDelegate : boolean
) : IEditor

パラメーター

  • fileName
    型: System.String

    カスタム エディターのファイル名。

戻り値

型: Microsoft.WebMatrix.Extensibility.Editor.IEditor
作成されたカスタム エディター。

関連項目

参照

ICustomEditorFactory インターフェイス

Microsoft.WebMatrix.Extensibility.Editor 名前空間