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