This topic has not yet been rated - Rate this topic

ShapeElement.IsDescendantOf Method

Verifies whether the shape is a descendent of another shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ