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
- element
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.