CompartmentMapsReferToCompartment Constructor (CompartmentMap, Compartment)
Constructor Creates a CompartmentMapsReferToCompartment link in the same Partition as the given CompartmentMap
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Déclaration
Public Sub New ( _
source As CompartmentMap, _
target As Compartment _
)
public CompartmentMapsReferToCompartment(
CompartmentMap source,
Compartment target
)
public:
CompartmentMapsReferToCompartment(
CompartmentMap^ source,
Compartment^ target
)
new :
source:CompartmentMap *
target:Compartment -> CompartmentMapsReferToCompartment
public function CompartmentMapsReferToCompartment(
source : CompartmentMap,
target : Compartment
)
Parameters
- source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap
CompartmentMap to use as the source of the relationship.
- target
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Compartment
Compartment 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.
See Also
Reference
CompartmentMapsReferToCompartment Class