This member overrides ShapeField.GetBounds(ShapeElement).
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overrides Function GetBounds ( _
parentShape As ShapeElement _
) As RectangleD
'使用
Dim instance As ListField
Dim parentShape As ShapeElement
Dim returnValue As RectangleD
returnValue = instance.GetBounds(parentShape)
public override RectangleD GetBounds(
ShapeElement parentShape
)
public:
virtual RectangleD GetBounds(
ShapeElement^ parentShape
) override
public override function GetBounds(
parentShape : ShapeElement
) : RectangleD
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Permissions
- 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.