ModelTreeManager.GetModelItem(Object, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回管理器的模型项。
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
。
返回
管理器的模型项。