Export (0) Print
Expand All
Expand Minimize

ShapeElement.IsDescendantOf Method

Checks to see whether the shape is a descendent of another shape.

Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in microsoft.visualstudio.modeling.diagrams.dll)

public bool IsDescendantOf (
	ShapeElement potentialAncestor
)
public boolean IsDescendantOf (
	ShapeElement potentialAncestor
)
public function IsDescendantOf (
	potentialAncestor : ShapeElement
) : boolean

Parameters

potentialAncestor

The shape to check and see whether it is a descendent.

Return Value

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

Community Additions

ADD
Show:
© 2015 Microsoft