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

新模型项。

适用于