ITextEditorFactory.CreateTextEditor-Methode
Die folgenden Ausführungen gelten für v2.
Erstellt einen Text-Editor.
Namespace: Microsoft.WebMatrix.Extensibility.Editor
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Function CreateTextEditor ( _
fileName As String, _
text As String _
) As IEditor
'Usage
Dim instance As ITextEditorFactory
Dim fileName As String
Dim text As String
Dim returnValue As IEditor
returnValue = instance.CreateTextEditor(fileName, _
text)
IEditor CreateTextEditor(
string fileName,
string text
)
IEditor^ CreateTextEditor(
String^ fileName,
String^ text
)
abstract CreateTextEditor :
fileName:string *
text:string -> IEditor
function CreateTextEditor(
fileName : String,
text : String
) : IEditor
Parameter
fileName
Typ: System.StringDer Name der zu ladenden Datei.
text
Typ: System.StringDer Standardtext.
Rückgabewert
Typ: Microsoft.WebMatrix.Extensibility.Editor.IEditor
Eine Editor-Instanz.