Share via


DomainRelationshipAttribute.AllowsDuplicates Property

Gets or sets whether domain relationship allows creating multiple instances between the same pair of elements.

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

Syntax

'Declaration
Public Property AllowsDuplicates As Boolean
public bool AllowsDuplicates { get; set; }
public:
property bool AllowsDuplicates {
    bool get ();
    void set (bool value);
}
member AllowsDuplicates : bool with get, set
function get AllowsDuplicates () : boolean 
function set AllowsDuplicates (value : boolean)

Property Value

Type: System.Boolean
true if multiple instances between the same pair of elements is permitted; otherwise, false.

.NET Framework Security

See Also

Reference

DomainRelationshipAttribute Class

Microsoft.VisualStudio.Modeling Namespace