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 (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
Public Property AllowsDuplicates As Boolean
'Usage
Dim instance As DomainRelationshipAttribute 
Dim value As Boolean 

value = instance.AllowsDuplicates

instance.AllowsDuplicates = value
public bool AllowsDuplicates { get; set; }
public:
property bool AllowsDuplicates {
    bool get ();
    void set (bool value);
}
public function get AllowsDuplicates () : boolean 
public 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

DomainRelationshipAttribute Members

Microsoft.VisualStudio.Modeling Namespace