共用方式為


WorkflowViewService.GetViewElement(ModelItem) 方法

定義

建立對應至指定之 WorkflowViewElement 的新 ModelItem

public:
 System::Activities::Presentation::WorkflowViewElement ^ GetViewElement(System::Activities::Presentation::Model::ModelItem ^ modelItem);
public System.Activities.Presentation.WorkflowViewElement GetViewElement (System.Activities.Presentation.Model.ModelItem modelItem);
member this.GetViewElement : System.Activities.Presentation.Model.ModelItem -> System.Activities.Presentation.WorkflowViewElement
Public Function GetViewElement (modelItem As ModelItem) As WorkflowViewElement

參數

modelItem
ModelItem

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

傳回

對應至指定之模型項目的新檢視元素。

適用於