ModelItemExtensions.IsParentOf(ModelItem, ModelItem) Methode

Definitie

Retourneert een waarde die aangeeft of het eerste opgegeven ontwerpitem een bovenliggend item is van het tweede opgegeven ontwerpitem.

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

Het bovenliggende ontwerpitem dat moet worden gecontroleerd.

child
ModelItem

Het item van de onderliggende ontwerper dat moet worden gecontroleerd.

Retouren

trueals item het bovenliggende element is van child; anders. false

Van toepassing op