ShapeElement.IsDescendantOf(ShapeElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.