共用方式為


ParentShapeContainsNestedChildShapes.GetParentShape Method

Gets ParentShape.

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

Syntax

'宣告
Public Shared Function GetParentShape ( _
    element As ShapeElement _
) As ShapeElement
public static ShapeElement GetParentShape(
    ShapeElement element
)
public:
static ShapeElement^ GetParentShape(
    ShapeElement^ element
)
static member GetParentShape : 
        element:ShapeElement -> ShapeElement 
public static function GetParentShape(
    element : ShapeElement
) : ShapeElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement

.NET Framework Security

See Also

Reference

ParentShapeContainsNestedChildShapes Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace