Partager via


ShapeElement.IsDescendantOf(ShapeElement) Method

Definition

Returns a value indicating whether this shape is a descendant of the specified shape.

public:
 bool IsDescendantOf(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ potentialAncestor);
public bool IsDescendantOf (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement potentialAncestor);
member this.IsDescendantOf : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> bool
Public Function IsDescendantOf (potentialAncestor As ShapeElement) As Boolean

Parameters

potentialAncestor
ShapeElement

Returns

true if this shape is a descendant of the specified shape.

Applies to