共用方式為


WorkflowViewService.GetModel(DependencyObject) 方法

定義

傳回對應至指定之 ModelItemDependencyObject

public:
 override System::Activities::Presentation::Model::ModelItem ^ GetModel(System::Windows::DependencyObject ^ view);
public override System.Activities.Presentation.Model.ModelItem GetModel (System.Windows.DependencyObject view);
override this.GetModel : System.Windows.DependencyObject -> System.Activities.Presentation.Model.ModelItem
Public Overrides Function GetModel (view As DependencyObject) As ModelItem

參數

view
DependencyObject

包含模型項目的工作流程檢視元素。

傳回

對應至相依性物件的模型項目。

適用於