共用方式為


VirtualizedContainerService.GetViewElement(ModelItem, ICompositeView) 方法

定義

傳回工作流程檢視元素,此元素會對應至指定的模型項目。

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

參數

modelItem
ModelItem

要取得之工作流程檢視元素的基礎模型項目。

sourceContainer
ICompositeView

要針對工作流程檢視元素設定的拖曳來源相依性屬性值。

傳回

工作流程檢視元素,此元素會對應至指定的模型項目。

適用於