Поделиться через


ShapeHasCompartments.Compartment - свойство

Фигура секции секции DomainRole определения секции.

Пространство имен:  Microsoft.VisualStudio.Modeling.DslDefinition
Сборка:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (в Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Синтаксис

'Декларация
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Compartment.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Compartment.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Shape", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Compartment.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.One)> _
<DomainObjectIdAttribute("ab34da30-f2a5-4eaf-9423-4c549706a873")> _
Public Property Compartment As Compartment
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Compartment.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Compartment.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Shape", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments/Compartment.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)]
[DomainObjectIdAttribute("ab34da30-f2a5-4eaf-9423-4c549706a873")]
public Compartment Compartment { get; set; }

Значение свойства

Тип: Microsoft.VisualStudio.Modeling.DslDefinition.Compartment

Безопасность платформы .NET Framework

См. также

Ссылки

ShapeHasCompartments Класс

Microsoft.VisualStudio.Modeling.DslDefinition - пространство имен