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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Public Property AllowsDuplicates As Boolean
Get
Set
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.