共用方式為


DecoratorHostShape.SetBoundsRules Method

Associates bounds rules with this host shape. May be necessary for increased control over shape positioning.

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

Syntax

'宣告
Public Sub SetBoundsRules ( _
    boundsRules As BoundsRules _
)
public void SetBoundsRules(
    BoundsRules boundsRules
)
public:
void SetBoundsRules(
    BoundsRules^ boundsRules
)
member SetBoundsRules : 
        boundsRules:BoundsRules -> unit 
public function SetBoundsRules(
    boundsRules : BoundsRules
)

Parameters

.NET Framework Security

See Also

Reference

DecoratorHostShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace