Partilhar via


Propriedade DslLibraryHasRelationships.Relationship

Descrição da relação DomainRole para Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasRelationships.Relationship

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Sintaxe

'Declaração
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasRelationships/Relationship.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "DslLibrary",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasRelationships/Relationship.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.One)> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasRelationships/Relationship.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("4e511a60-45be-42a7-b159-34c1b9cec47d")> _
Public Property Relationship As DomainRelationship
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasRelationships/Relationship.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "DslLibrary", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasRelationships/Relationship.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasRelationships/Relationship.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("4e511a60-45be-42a7-b159-34c1b9cec47d")]
public DomainRelationship Relationship { get; set; }

Valor de propriedade

Tipo: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship

Segurança do .NET Framework

Consulte também

Referência

DslLibraryHasRelationships Classe

Namespace Microsoft.VisualStudio.Modeling.DslDefinition