ParentShapeContainsNestedChildShapes.GetParentShape 方法

获取 ParentShape。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
Public Shared Function GetParentShape ( _
    element As ShapeElement _
) As ShapeElement
public static ShapeElement GetParentShape(
    ShapeElement element
)

参数

返回值

类型:Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement

.NET Framework 安全性

请参见

参考

ParentShapeContainsNestedChildShapes 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间