Aracılığıyla paylaş


ShapeHasCompartments.Compartment Özellik

DomainRole bölme bölme şeklini bölmeler tanımlama.

Ad alanı:  Microsoft.VisualStudio.Modeling.DslDefinition
Derleme:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll içinde)

Sözdizimi

'Bildirim
<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; }

Özellik Değeri

Tür: Microsoft.VisualStudio.Modeling.DslDefinition.Compartment

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

ShapeHasCompartments Sınıf

Microsoft.VisualStudio.Modeling.DslDefinition Ad Alanı