Constructor UtilityAssociation
UtilityAssociation(UtilityAssociationType, UtilityElement, UtilityElement)
Initializes a new instance of the Utility
Declaration
public UtilityAssociation(UtilityAssociationType associationType, UtilityElement fromElement, UtilityElement toElement)
Parameters
Type | Name | Description |
---|---|---|
Utility |
associationType | The type of association between the From |
Utility |
fromElement | The first participant in the association. |
Utility |
toElement | The second participant in the association. |
Remarks
Use this constructor if the association type does not need to specify a different value for:
- Is
Containment . The default value isVisible false
. - Fraction
Along . The default value is 0.Edge
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.5 - 200.6 |
.NET | 200.5 - 200.6 |
.NET Windows | 200.5 - 200.6 |
.NET Android | 200.5 - 200.6 |
.NET iOS | 200.5 - 200.6 |
.NET Framework | 200.5 - 200.6 |
UWP | 200.5 - 200.6 |
UtilityAssociation(UtilityAssociationType, UtilityElement, UtilityElement, Boolean)
Initializes a new instance of the Utility
Declaration
public UtilityAssociation(UtilityAssociationType associationType, UtilityElement fromElement, UtilityElement toElement, bool isContainmentVisible)
Parameters
Type | Name | Description |
---|---|---|
Utility |
associationType | The type of association between the From |
Utility |
fromElement | The first participant in the association. |
Utility |
toElement | The second participant in the association. |
System. |
isContainmentVisible |
|
Remarks
This constructor is typically used when creating Containment association.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.5 - 200.6 |
.NET | 200.5 - 200.6 |
.NET Windows | 200.5 - 200.6 |
.NET Android | 200.5 - 200.6 |
.NET iOS | 200.5 - 200.6 |
.NET Framework | 200.5 - 200.6 |
UWP | 200.5 - 200.6 |
UtilityAssociation(UtilityAssociationType, UtilityElement, UtilityElement, Double)
Initializes a new instance of the Utility
Declaration
public UtilityAssociation(UtilityAssociationType associationType, UtilityElement fromElement, UtilityElement toElement, double fractionAlongEdge)
Parameters
Type | Name | Description |
---|---|---|
Utility |
associationType | The type of association between the From |
Utility |
fromElement | The first participant in the association. |
Utility |
toElement | The second participant in the association. |
System. |
fractionAlongEdge | The relative location along the non-spatial edge where the junction is (logically) located. |
Remarks
This constructor is typically used when creating Junction
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.5 - 200.6 |
.NET | 200.5 - 200.6 |
.NET Windows | 200.5 - 200.6 |
.NET Android | 200.5 - 200.6 |
.NET iOS | 200.5 - 200.6 |
.NET Framework | 200.5 - 200.6 |
UWP | 200.5 - 200.6 |