Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Constructor
Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
    partition As Partition, _
    ParamArray propertyAssignments As PropertyAssignment() _
)
public DomainRelationship(
    Partition partition,
    params PropertyAssignment[] propertyAssignments
)
public:
DomainRelationship(
    Partition^ partition, 
    ... array<PropertyAssignment^>^ propertyAssignments
)
new : 
        partition:Partition * 
        propertyAssignments:PropertyAssignment[] -> DomainRelationship
public function DomainRelationship(
    partition : Partition, 
    ... propertyAssignments : PropertyAssignment[]
)
Parameters
- partition 
 Type: Microsoft.VisualStudio.Modeling.Partition- Partition where new element is to be created. 
- propertyAssignments 
 Type: array<Microsoft.VisualStudio.Modeling.PropertyAssignment[]- List of domain property id/value pairs to set once the element is created. 
.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.