ShapeElement::IsDescendantOf Method (ShapeElement^)

 

Verifies whether the shape is a descendent of another shape.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
bool IsDescendantOf(
	ShapeElement^ potentialAncestor
)

Parameters

potentialAncestor
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^

The shape to check.

Return Value

Type: System::Boolean

true if the shape is the descendent of another shape; otherwise, false.

Return to top
Show: