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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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
- boundsRules
Type: Microsoft.VisualStudio.Modeling.Diagrams.BoundsRules
.NET Framework Security
- 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.