ModelItemExtensions.IsParentOf(ModelItem, ModelItem) Yöntem

Tanım

İlk belirtilen tasarımcı öğesinin, belirtilen ikinci tasarımcı öğesinin üst öğesi olup olmadığını gösteren bir değer döndürür.

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

Parametreler

item
ModelItem

Denetlenecek üst tasarımcı öğesi.

child
ModelItem

Denetlenecek alt tasarımcı öğesi.

Döndürülenler

true öğesinin üst öğesiyse itemchild, değilse, false.

Şunlara uygulanır