KeepInParentRule.GetMargin Method

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'宣言
Protected Overridable Function GetMargin ( _
    shape As ShapeElement _
) As Double
'使用
Dim shape As ShapeElement
Dim returnValue As Double

returnValue = Me.GetMargin(shape)
protected virtual double GetMargin(
    ShapeElement shape
)
protected:
virtual double GetMargin(
    ShapeElement^ shape
)
protected function GetMargin(
    shape : ShapeElement
) : double

Parameters

Return Value

Type: System.Double

Permissions

See Also

Reference

KeepInParentRule Class

KeepInParentRule Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace