Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public MustOverride Function GetBounds ( _
parentShape As ShapeElement, _
parentField As ShapeField _
) As RectangleD
'使用
Dim instance As ShapeSubField
Dim parentShape As ShapeElement
Dim parentField As ShapeField
Dim returnValue As RectangleD
returnValue = instance.GetBounds(parentShape, _
parentField)
public abstract RectangleD GetBounds(
ShapeElement parentShape,
ShapeField parentField
)
public:
virtual RectangleD GetBounds(
ShapeElement^ parentShape,
ShapeField^ parentField
) abstract
public abstract function GetBounds(
parentShape : ShapeElement,
parentField : ShapeField
) : RectangleD
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- parentField
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
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.