共用方式為


WorkflowViewService.CreateViewElement(ModelItem) 方法

定義

建立支援指定之 WorkflowViewElement 型別的新 ModelItem

protected:
 System::Activities::Presentation::WorkflowViewElement ^ CreateViewElement(System::Activities::Presentation::Model::ModelItem ^ modelItem);
protected System.Activities.Presentation.WorkflowViewElement CreateViewElement (System.Activities.Presentation.Model.ModelItem modelItem);
member this.CreateViewElement : System.Activities.Presentation.Model.ModelItem -> System.Activities.Presentation.WorkflowViewElement
Protected Function CreateViewElement (modelItem As ModelItem) As WorkflowViewElement

參數

modelItem
ModelItem

活動設計工具之編輯模型中的一個實體。

傳回

支援與模型項目引數相同型別的工作流程檢視元素。

適用於