Gets the boundaries for the compartment shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overrides ReadOnly Property BoundsRules As BoundsRules
'使用
Dim instance As Compartment
Dim value As BoundsRules
value = instance.BoundsRules
public override BoundsRules BoundsRules { get; }
public:
virtual property BoundsRules^ BoundsRules {
BoundsRules^ get () override;
}
public override function get BoundsRules () : BoundsRules
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.BoundsRules
The boundaries for the compartment shape; otherwise, a null reference (Nothing in Visual Basic).
Remarks
By default, the return value is a null reference (Nothing in Visual Basic).
Boundaries determine where users can put objects in the compartment shape and how large the objects can be.
Permissions
- 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.