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
- 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.