Partager via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
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