ModelTreeManager.GetModelItem(Object, Boolean) 方法

定义

返回管理器的模型项。

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

参数

instance
Object

实例。

shouldExpandModelTree
Boolean

如果管理器应展开模型树,则为 true;否则为 false

返回

ModelItem

管理器的模型项。

适用于