共用方式為


RelationshipHasBaseRelationship.SubRelationship 屬性

DomainRole SubRelationship 是這個網域關聯性的基底關聯性。

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

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasBaseRelationship/SubRelationship.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasBaseRelationship/SubRelationship.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasBaseRelationship/SubRelationship.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "BaseClass", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasBaseRelationship/SubRelationship.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.ZeroOne)> _
<DomainObjectIdAttribute("7210dc6f-0912-44ca-8e32-ee08a03b5102")> _
Public Property SubRelationship As DomainRelationship
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasBaseRelationship/SubRelationship.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasBaseRelationship/SubRelationship.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasBaseRelationship/SubRelationship.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "BaseClass", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasBaseRelationship/SubRelationship.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.ZeroOne)]
[DomainObjectIdAttribute("7210dc6f-0912-44ca-8e32-ee08a03b5102")]
public DomainRelationship SubRelationship { get; set; }

屬性值

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

.NET Framework 安全性

請參閱

參考

RelationshipHasBaseRelationship 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間