ShapeElement.IsDescendantOf Method
Verifies whether the shape is a descendent of another shape.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Parameters
- potentialAncestor
- Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape to check.
Return Value
Type: System.Booleantrue if the shape is the descendent of another shape; otherwise, false.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.