Page History
Description
This is the Child Cardinality No Number of the relationship: 0 = Zero or One to Zero or More, 1 = 0, Zero or One to One or More, 2 = 1, Zero or One to Zero or One , 3 = 2, Zero or One to exactly N = 3. DATATYPE: Integer.
Property
...
Type
- Read-write property
Syntax
...
Code Block | ||
---|---|---|
| ||
Public Property CardinalityNo() As Variant |
Remarks
Values may be:
Mandatory:
One to Zero or More = 0
...
One to One or More = 1
...
One to Zero or One = 2
...
One to Exactly N = 3
...
Optional:
...
Zero or One to Zero or More = 0
...
Zero or One to One or More = 1
...
Zero or One to Zero or One = 2
...
...
One to Exactly N = 3
Example
Sub Main Anchor
Dim d As Diagram
Anchor
anchor
Set d = DiagramManager.ActiveDiagram
Anchor
'Force every Relationship to be Mandatory and One-To-One or More wp1024191 Anchor
rel. = 1 Anchor
rel.CardinalityNo = 1
anchor
anchorEnd Sub
Info | ||
---|---|---|
| ||