Partilhar via


DomainRelationship.AllowsDuplicates Property

Definition

Gets or sets the value of AllowsDuplicates domain property. If True, permits duplicate links of this domain relationship to be created between the same two elements.

public:
 property bool AllowsDuplicates { bool get(); void set(bool value); };
[Microsoft.VisualStudio.Modeling.Design.CategoryResource("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship/AllowsDuplicates.Category", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship/AllowsDuplicates.Description", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship/AllowsDuplicates.DisplayName", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.DomainObjectId("316b699a-74c9-4d90-8ca5-71dea14f280d")]
public bool AllowsDuplicates { [System.Diagnostics.DebuggerStepThrough] get; [System.Diagnostics.DebuggerStepThrough] set; }
[<Microsoft.VisualStudio.Modeling.Design.CategoryResource("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship/AllowsDuplicates.Category", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship/AllowsDuplicates.Description", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship/AllowsDuplicates.DisplayName", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.DomainObjectId("316b699a-74c9-4d90-8ca5-71dea14f280d")>]
[<get: System.Diagnostics.DebuggerStepThrough>]
[<set: System.Diagnostics.DebuggerStepThrough>]
member this.AllowsDuplicates : bool with get, set
Public Property AllowsDuplicates As Boolean

Property Value

Attributes

Applies to