ModelTreeManager.GetModelItem(Object, Boolean) Method

Definition

Returns the model item for the manager.

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

Parameters

instance
Object

The instance.

shouldExpandModelTree
Boolean

true if the manager should expand the model tree; otherwise, false.

Returns

The model item for the manager.

Applies to