共用方式為


ModelTreeManager.CreateModelItem(ModelItem, Object) 方法

定義

根據指定的父代和執行個體建立模型項目。

public:
 System::Activities::Presentation::Model::ModelItem ^ CreateModelItem(System::Activities::Presentation::Model::ModelItem ^ parent, System::Object ^ instance);
public System.Activities.Presentation.Model.ModelItem CreateModelItem (System.Activities.Presentation.Model.ModelItem parent, object instance);
member this.CreateModelItem : System.Activities.Presentation.Model.ModelItem * obj -> System.Activities.Presentation.Model.ModelItem
Public Function CreateModelItem (parent As ModelItem, instance As Object) As ModelItem

參數

parent
ModelItem

父項目。

instance
Object

執行個體。

傳回

ModelItem

新的模型項目。

適用於