Modifier

Partager via


ModelItemExtensions.IsParentOf(ModelItem, ModelItem) Method

Definition

Returns a value that indicates whether the first specified designer item is a parent of the second specified designer item.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsParentOf(System::Activities::Presentation::Model::ModelItem ^ item, System::Activities::Presentation::Model::ModelItem ^ child);
public static bool IsParentOf (this System.Activities.Presentation.Model.ModelItem item, System.Activities.Presentation.Model.ModelItem child);
static member IsParentOf : System.Activities.Presentation.Model.ModelItem * System.Activities.Presentation.Model.ModelItem -> bool
<Extension()>
Public Function IsParentOf (item As ModelItem, child As ModelItem) As Boolean

Parameters

item
ModelItem

The parent designer item to check.

child
ModelItem

The child designer item to check.

Returns

true if item is the parent of child; otherwise, false.

Applies to