Share via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.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

.NET Framework Security

See Also

Reference

ShapeHasCompartments Class

ShapeHasCompartments Overload

Microsoft.VisualStudio.Modeling.DslDefinition Namespace