ICustomEditorFactory.CreateCustomEditor Method
Applies to v2.
Creates a custom 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
Parameters
fileName
Type: System.StringThe file name of the custom editor.
loaderDelegate
Type: System.Func<T, TResult>%The loader delegate.
saverDelegate
Type: System.BooleanThe saver delegate.
Return Value
Type: Microsoft.WebMatrix.Extensibility.Editor.IEditor
The created custom editor.