ICustomEditorFactory.CreateCustomEditor-Methode
Die folgenden Ausführungen gelten für v2.
Erstellt einen benutzerdefinierten Editor.
Namespace: Microsoft.WebMatrix.Extensibility.Editor
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Function CreateCustomEditor ( _
fileName As String, _
<OutAttribute> ByRef loaderDelegate As Func, _
<OutAttribute> saverDelegate As Boolean _
) As IEditor
'Usage
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
Parameter
fileName
Typ: System.StringDer Dateiname des benutzerdefinierten Editors.
loaderDelegate
Typ: System.Func<T, TResult>%Der Ladedelegat.
saverDelegate
Typ: System.BooleanDer Speicherungsdelegat.
Rückgabewert
Typ: Microsoft.WebMatrix.Extensibility.Editor.IEditor
Der erstellte benutzerdefinierte Editor.