ParentShapeHasRelativeChildShapes.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 安全性

請參閱

參考

ParentShapeHasRelativeChildShapes 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間