共用方式為


ShapeElement.HasChildren Property

true if the shape has child shapes.

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

Syntax

'宣告
Public ReadOnly Property HasChildren As Boolean
    Get
public bool HasChildren { get; }
public:
property bool HasChildren {
    bool get ();
}
member HasChildren : bool
function get HasChildren () : boolean

Property Value

Type: System.Boolean

Remarks

Every child shape is either in NestedChildShapes or in RelativeChildShapes.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace