ShapeHasCompartments Constructor (CompartmentShape, Compartment)
Constructor Creates a ShapeHasCompartments link in the same Partition as the given CompartmentShape
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
source As CompartmentShape, _
target As Compartment _
)
public ShapeHasCompartments(
CompartmentShape source,
Compartment target
)
public:
ShapeHasCompartments(
CompartmentShape^ source,
Compartment^ target
)
new :
source:CompartmentShape *
target:Compartment -> ShapeHasCompartments
public function ShapeHasCompartments(
source : CompartmentShape,
target : Compartment
)
Parameters
source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShapeCompartmentShape to use as the source of the relationship.
target
Type: Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentCompartment to use as the target of the relationship.
.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.