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

实体设计器的编辑模型中的一个实体。

返回

一个与模型项自变量支持相同的类型的工作流视图元素。

适用于