Aracılığıyla paylaş


ModelItemExtensions.IsParentOf(ModelItem, ModelItem) Yöntem

Tanım

Belirtilen ilk 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

Boolean

trueitemöğesinin üst öğesi ise child , aksi durumda, false .

Şunlara uygulanır