ModelItemExtensions.IsParentOf(ModelItem, ModelItem) Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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