ShapeHasCompartments.Shape Property

DomainRole Shape Compartments defined by the compartment shape.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Compartments",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Shape.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.ZeroMany)> _
<DomainObjectIdAttribute("5bb49231-2334-4fa4-9888-67c9063383d2")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Shape.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Shape.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Shape As CompartmentShape
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Compartments", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Shape.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroMany)]
[DomainObjectIdAttribute("5bb49231-2334-4fa4-9888-67c9063383d2")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Shape.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Shape.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public CompartmentShape Shape { get; set; }
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"Compartments", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Shape.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity::ZeroMany)]
[DomainObjectIdAttribute(L"5bb49231-2334-4fa4-9888-67c9063383d2")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Shape.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Shape.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property CompartmentShape^ Shape {
    CompartmentShape^ get ();
    void set (CompartmentShape^ value);
}
[<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Compartments", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Shape.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroMany)>]
[<DomainObjectIdAttribute("5bb49231-2334-4fa4-9888-67c9063383d2")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Shape.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Shape.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member Shape : CompartmentShape with get, set
function get Shape () : CompartmentShape 
function set Shape (value : CompartmentShape)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape

.NET Framework Security

See Also

Reference

ShapeHasCompartments Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace