ShapeHasCompartments Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ShapeHasCompartments(CompartmentShape, Compartment) |
Constructor Creates a ShapeHasCompartments link in the same Partition as the given CompartmentShape |
ShapeHasCompartments(Partition, RoleAssignment[]) |
Constructor |
ShapeHasCompartments(Store, RoleAssignment[]) |
Constructor |
ShapeHasCompartments(Partition, RoleAssignment[], PropertyAssignment[]) |
Constructor |
ShapeHasCompartments(Store, RoleAssignment[], PropertyAssignment[]) |
Constructor |
ShapeHasCompartments(CompartmentShape, Compartment)
Constructor Creates a ShapeHasCompartments link in the same Partition as the given CompartmentShape
public:
ShapeHasCompartments(Microsoft::VisualStudio::Modeling::DslDefinition::CompartmentShape ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::Compartment ^ target);
public ShapeHasCompartments (Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape source, Microsoft.VisualStudio.Modeling.DslDefinition.Compartment target);
new Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments : Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape * Microsoft.VisualStudio.Modeling.DslDefinition.Compartment -> Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments
Public Sub New (source As CompartmentShape, target As Compartment)
Parameters
- source
- CompartmentShape
CompartmentShape to use as the source of the relationship.
- target
- Compartment
Compartment to use as the target of the relationship.
Applies to
ShapeHasCompartments(Partition, RoleAssignment[])
Constructor
public:
ShapeHasCompartments(Microsoft::VisualStudio::Modeling::Partition ^ partition, ... cli::array <Microsoft::VisualStudio::Modeling::RoleAssignment ^> ^ roleAssignments);
public ShapeHasCompartments (Microsoft.VisualStudio.Modeling.Partition partition, params Microsoft.VisualStudio.Modeling.RoleAssignment[] roleAssignments);
new Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.RoleAssignment[] -> Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments
Public Sub New (partition As Partition, ParamArray roleAssignments As RoleAssignment())
Parameters
- partition
- Partition
Partition where new link is to be created.
- roleAssignments
- RoleAssignment[]
List of relationship role assignments.
Applies to
ShapeHasCompartments(Store, RoleAssignment[])
Constructor
public:
ShapeHasCompartments(Microsoft::VisualStudio::Modeling::Store ^ store, ... cli::array <Microsoft::VisualStudio::Modeling::RoleAssignment ^> ^ roleAssignments);
public ShapeHasCompartments (Microsoft.VisualStudio.Modeling.Store store, params Microsoft.VisualStudio.Modeling.RoleAssignment[] roleAssignments);
new Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.RoleAssignment[] -> Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments
Public Sub New (store As Store, ParamArray roleAssignments As RoleAssignment())
Parameters
- store
- Store
Store where new link is to be created.
- roleAssignments
- RoleAssignment[]
List of relationship role assignments.
Applies to
ShapeHasCompartments(Partition, RoleAssignment[], PropertyAssignment[])
Constructor
public:
ShapeHasCompartments(Microsoft::VisualStudio::Modeling::Partition ^ partition, cli::array <Microsoft::VisualStudio::Modeling::RoleAssignment ^> ^ roleAssignments, cli::array <Microsoft::VisualStudio::Modeling::PropertyAssignment ^> ^ propertyAssignments);
public ShapeHasCompartments (Microsoft.VisualStudio.Modeling.Partition partition, Microsoft.VisualStudio.Modeling.RoleAssignment[] roleAssignments, Microsoft.VisualStudio.Modeling.PropertyAssignment[] propertyAssignments);
new Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.RoleAssignment[] * Microsoft.VisualStudio.Modeling.PropertyAssignment[] -> Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments
Public Sub New (partition As Partition, roleAssignments As RoleAssignment(), propertyAssignments As PropertyAssignment())
Parameters
- partition
- Partition
Partition where new link is to be created.
- roleAssignments
- RoleAssignment[]
List of relationship role assignments.
- propertyAssignments
- PropertyAssignment[]
List of properties assignments to set on the new link.
Applies to
ShapeHasCompartments(Store, RoleAssignment[], PropertyAssignment[])
Constructor
public:
ShapeHasCompartments(Microsoft::VisualStudio::Modeling::Store ^ store, cli::array <Microsoft::VisualStudio::Modeling::RoleAssignment ^> ^ roleAssignments, cli::array <Microsoft::VisualStudio::Modeling::PropertyAssignment ^> ^ propertyAssignments);
public ShapeHasCompartments (Microsoft.VisualStudio.Modeling.Store store, Microsoft.VisualStudio.Modeling.RoleAssignment[] roleAssignments, Microsoft.VisualStudio.Modeling.PropertyAssignment[] propertyAssignments);
new Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.RoleAssignment[] * Microsoft.VisualStudio.Modeling.PropertyAssignment[] -> Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments
Public Sub New (store As Store, roleAssignments As RoleAssignment(), propertyAssignments As PropertyAssignment())
Parameters
- store
- Store
Store where new link is to be created.
- roleAssignments
- RoleAssignment[]
List of relationship role assignments.
- propertyAssignments
- PropertyAssignment[]
List of properties assignments to set on the new link.