共用方式為


CompartmentMapsReferToCompartment.Compartment 屬性

DomainRole 區間

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapsReferToCompartment/Compartment.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapsReferToCompartment/Compartment.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "CompartmentMaps",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapsReferToCompartment/Compartment.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.ZeroMany)> _
<DomainObjectIdAttribute("967e4127-65f8-48c7-8532-1cb4e466a9ee")> _
Public Property Compartment As Compartment
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapsReferToCompartment/Compartment.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapsReferToCompartment/Compartment.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "CompartmentMaps", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapsReferToCompartment/Compartment.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.ZeroMany)]
[DomainObjectIdAttribute("967e4127-65f8-48c7-8532-1cb4e466a9ee")]
public Compartment Compartment { get; set; }

屬性值

類型:Microsoft.VisualStudio.Modeling.DslDefinition.Compartment

.NET Framework 安全性

請參閱

參考

CompartmentMapsReferToCompartment 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間