共用方式為


CompartmentMapHasElementsDisplayedPath.CompartmentMap Property

DomainRole CompartmentMap Path identifying the collection of elements displayed in the compartment.

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

Syntax

'宣告
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "ElementsDisplayed",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapHasElementsDisplayedPath/CompartmentMap.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.One)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapHasElementsDisplayedPath/CompartmentMap.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapHasElementsDisplayedPath/CompartmentMap.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("c460a3f3-ae80-4447-aa49-2298f68d5733")> _
Public Property CompartmentMap As CompartmentMap
    Get
    Set
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "ElementsDisplayed", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapHasElementsDisplayedPath/CompartmentMap.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.One)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapHasElementsDisplayedPath/CompartmentMap.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapHasElementsDisplayedPath/CompartmentMap.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("c460a3f3-ae80-4447-aa49-2298f68d5733")]
public CompartmentMap CompartmentMap { get; set; }
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"ElementsDisplayed", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapHasElementsDisplayedPath/CompartmentMap.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity::One)]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapHasElementsDisplayedPath/CompartmentMap.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapHasElementsDisplayedPath/CompartmentMap.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"c460a3f3-ae80-4447-aa49-2298f68d5733")]
public:
property CompartmentMap^ CompartmentMap {
    CompartmentMap^ get ();
    void set (CompartmentMap^ value);
}
[<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "ElementsDisplayed", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapHasElementsDisplayedPath/CompartmentMap.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.One)>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapHasElementsDisplayedPath/CompartmentMap.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapHasElementsDisplayedPath/CompartmentMap.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("c460a3f3-ae80-4447-aa49-2298f68d5733")>]
member CompartmentMap : CompartmentMap with get, set
function get CompartmentMap () : CompartmentMap
function set CompartmentMap (value : CompartmentMap)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap

.NET Framework Security

See Also

Reference

CompartmentMapHasElementsDisplayedPath Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace