Share via


ShapeHasCompartments.Shape Property

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

Syntax

'Declaration
<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")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Compartments",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Shape.PropertyDisplayName",  _
    Multiplicity := Multiplicity.ZeroMany)> _
<DomainObjectIdAttribute("5bb49231-2334-4fa4-9888-67c9063383d2")> _
Public Property Shape As CompartmentShape
'Usage
Dim instance As ShapeHasCompartments 
Dim value As CompartmentShape 

value = instance.Shape

instance.Shape = value
[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")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Compartments", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Shape.PropertyDisplayName", 
    Multiplicity = Multiplicity.ZeroMany)]
[DomainObjectIdAttribute("5bb49231-2334-4fa4-9888-67c9063383d2")]
public CompartmentShape Shape { get; set; }
[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")]
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"Compartments", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Shape.PropertyDisplayName", 
    Multiplicity = Multiplicity::ZeroMany)]
[DomainObjectIdAttribute(L"5bb49231-2334-4fa4-9888-67c9063383d2")]
public:
property CompartmentShape^ Shape {
    CompartmentShape^ get ();
    void set (CompartmentShape^ value);
}
public function get Shape () : CompartmentShape 
public function set Shape (value : CompartmentShape)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape

.NET Framework Security

See Also

Reference

ShapeHasCompartments Class

ShapeHasCompartments Members

Microsoft.VisualStudio.Modeling.DslDefinition Namespace