IExpressionEditorService.CreateExpressionEditor 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立新的運算式編輯器。
多載
CreateExpressionEditor(AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String) |
建立新的運算式編輯器。 |
CreateExpressionEditor(AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String, Type) |
使用指定的組件、已匯入的命名空間、變數、運算式文字與運算式型別,建立新的運算式編輯器。 |
CreateExpressionEditor(AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String, Size) |
使用指定的組件、已匯入的命名空間、變數、運算式文字與初始大小,建立新的運算式編輯器。 |
CreateExpressionEditor(AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String, Type, Size) |
使用指定的組件、已匯入的命名空間、變數、運算式文字、運算式型別與初始大小,建立新的運算式編輯器。 |
CreateExpressionEditor(AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String)
建立新的運算式編輯器。
public:
System::Activities::Presentation::View::IExpressionEditorInstance ^ CreateExpressionEditor(System::Activities::Presentation::Hosting::AssemblyContextControlItem ^ assemblies, System::Activities::Presentation::Hosting::ImportedNamespaceContextItem ^ importedNamespaces, System::Collections::Generic::List<System::Activities::Presentation::Model::ModelItem ^> ^ variables, System::String ^ text);
public System.Activities.Presentation.View.IExpressionEditorInstance CreateExpressionEditor (System.Activities.Presentation.Hosting.AssemblyContextControlItem assemblies, System.Activities.Presentation.Hosting.ImportedNamespaceContextItem importedNamespaces, System.Collections.Generic.List<System.Activities.Presentation.Model.ModelItem> variables, string text);
abstract member CreateExpressionEditor : System.Activities.Presentation.Hosting.AssemblyContextControlItem * System.Activities.Presentation.Hosting.ImportedNamespaceContextItem * System.Collections.Generic.List<System.Activities.Presentation.Model.ModelItem> * string -> System.Activities.Presentation.View.IExpressionEditorInstance
Public Function CreateExpressionEditor (assemblies As AssemblyContextControlItem, importedNamespaces As ImportedNamespaceContextItem, variables As List(Of ModelItem), text As String) As IExpressionEditorInstance
參數
- assemblies
- AssemblyContextControlItem
用來設定編輯器工作階段的內容。
- importedNamespaces
- ImportedNamespaceContextItem
要透過運算式編輯器使用之已匯入的命名空間。
- text
- String
用來填入運算式編輯器的字串。
傳回
適用於
CreateExpressionEditor(AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String, Type)
使用指定的組件、已匯入的命名空間、變數、運算式文字與運算式型別,建立新的運算式編輯器。
public:
System::Activities::Presentation::View::IExpressionEditorInstance ^ CreateExpressionEditor(System::Activities::Presentation::Hosting::AssemblyContextControlItem ^ assemblies, System::Activities::Presentation::Hosting::ImportedNamespaceContextItem ^ importedNamespaces, System::Collections::Generic::List<System::Activities::Presentation::Model::ModelItem ^> ^ variables, System::String ^ text, Type ^ expressionType);
public System.Activities.Presentation.View.IExpressionEditorInstance CreateExpressionEditor (System.Activities.Presentation.Hosting.AssemblyContextControlItem assemblies, System.Activities.Presentation.Hosting.ImportedNamespaceContextItem importedNamespaces, System.Collections.Generic.List<System.Activities.Presentation.Model.ModelItem> variables, string text, Type expressionType);
abstract member CreateExpressionEditor : System.Activities.Presentation.Hosting.AssemblyContextControlItem * System.Activities.Presentation.Hosting.ImportedNamespaceContextItem * System.Collections.Generic.List<System.Activities.Presentation.Model.ModelItem> * string * Type -> System.Activities.Presentation.View.IExpressionEditorInstance
Public Function CreateExpressionEditor (assemblies As AssemblyContextControlItem, importedNamespaces As ImportedNamespaceContextItem, variables As List(Of ModelItem), text As String, expressionType As Type) As IExpressionEditorInstance
參數
- assemblies
- AssemblyContextControlItem
環境中的區域組件和參考組件。
- importedNamespaces
- ImportedNamespaceContextItem
透過運算式編輯器使用之已匯入的命名空間。
- text
- String
用來填入運算式編輯器的字串。
- expressionType
- Type
運算式的型別。
傳回
IExpressionEditorInstance 的新執行個體。
適用於
CreateExpressionEditor(AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String, Size)
使用指定的組件、已匯入的命名空間、變數、運算式文字與初始大小,建立新的運算式編輯器。
public:
System::Activities::Presentation::View::IExpressionEditorInstance ^ CreateExpressionEditor(System::Activities::Presentation::Hosting::AssemblyContextControlItem ^ assemblies, System::Activities::Presentation::Hosting::ImportedNamespaceContextItem ^ importedNamespaces, System::Collections::Generic::List<System::Activities::Presentation::Model::ModelItem ^> ^ variables, System::String ^ text, System::Windows::Size initialSize);
public System.Activities.Presentation.View.IExpressionEditorInstance CreateExpressionEditor (System.Activities.Presentation.Hosting.AssemblyContextControlItem assemblies, System.Activities.Presentation.Hosting.ImportedNamespaceContextItem importedNamespaces, System.Collections.Generic.List<System.Activities.Presentation.Model.ModelItem> variables, string text, System.Windows.Size initialSize);
abstract member CreateExpressionEditor : System.Activities.Presentation.Hosting.AssemblyContextControlItem * System.Activities.Presentation.Hosting.ImportedNamespaceContextItem * System.Collections.Generic.List<System.Activities.Presentation.Model.ModelItem> * string * System.Windows.Size -> System.Activities.Presentation.View.IExpressionEditorInstance
Public Function CreateExpressionEditor (assemblies As AssemblyContextControlItem, importedNamespaces As ImportedNamespaceContextItem, variables As List(Of ModelItem), text As String, initialSize As Size) As IExpressionEditorInstance
參數
- assemblies
- AssemblyContextControlItem
環境中的區域組件和參考組件。
- importedNamespaces
- ImportedNamespaceContextItem
透過運算式編輯器使用之已匯入的命名空間。
- text
- String
用來填入運算式編輯器的字串。
- initialSize
- Size
運算式編輯器控制項的初始高度和寬度。
傳回
IExpressionEditorInstance 的新執行個體。
適用於
CreateExpressionEditor(AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String, Type, Size)
使用指定的組件、已匯入的命名空間、變數、運算式文字、運算式型別與初始大小,建立新的運算式編輯器。
public:
System::Activities::Presentation::View::IExpressionEditorInstance ^ CreateExpressionEditor(System::Activities::Presentation::Hosting::AssemblyContextControlItem ^ assemblies, System::Activities::Presentation::Hosting::ImportedNamespaceContextItem ^ importedNamespaces, System::Collections::Generic::List<System::Activities::Presentation::Model::ModelItem ^> ^ variables, System::String ^ text, Type ^ expressionType, System::Windows::Size initialSize);
public System.Activities.Presentation.View.IExpressionEditorInstance CreateExpressionEditor (System.Activities.Presentation.Hosting.AssemblyContextControlItem assemblies, System.Activities.Presentation.Hosting.ImportedNamespaceContextItem importedNamespaces, System.Collections.Generic.List<System.Activities.Presentation.Model.ModelItem> variables, string text, Type expressionType, System.Windows.Size initialSize);
abstract member CreateExpressionEditor : System.Activities.Presentation.Hosting.AssemblyContextControlItem * System.Activities.Presentation.Hosting.ImportedNamespaceContextItem * System.Collections.Generic.List<System.Activities.Presentation.Model.ModelItem> * string * Type * System.Windows.Size -> System.Activities.Presentation.View.IExpressionEditorInstance
Public Function CreateExpressionEditor (assemblies As AssemblyContextControlItem, importedNamespaces As ImportedNamespaceContextItem, variables As List(Of ModelItem), text As String, expressionType As Type, initialSize As Size) As IExpressionEditorInstance
參數
- assemblies
- AssemblyContextControlItem
環境中的區域組件和參考組件。
- importedNamespaces
- ImportedNamespaceContextItem
透過運算式編輯器使用之已匯入的命名空間。
- text
- String
用來填入運算式編輯器的字串。
- expressionType
- Type
運算式的型別。
- initialSize
- Size
運算式編輯器控制項的初始高度和寬度。
傳回
IExpressionEditorInstance 的新執行個體。