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カスタム エディターのファイル名。
loaderDelegate
型: System.Func<T, TResult>%ローダー デリゲート。
saverDelegate
型: System.Booleanセーバー デリゲート。
戻り値
型: Microsoft.WebMatrix.Extensibility.Editor.IEditor
作成されたカスタム エディター。