Constructor UtilityAssociation
UtilityAssociation(UtilityAssociationType, UtilityElement, UtilityElement)
Initializes a new instance of the UtilityAssociation class with the specified type between the specified utility elements.
Declaration
public UtilityAssociation(UtilityAssociationType associationType, UtilityElement fromElement, UtilityElement toElement)
Parameters
Type | Name | Description |
---|---|---|
UtilityAssociationType | associationType | The type of association between the FromElement and ToElement. |
UtilityElement | fromElement | The first participant in the association. |
UtilityElement | toElement | The second participant in the association. |
Remarks
Use this constructor if the association type does not need to specify a different value for:
- IsContainmentVisible. The default value is
false
. - FractionAlongEdge. The default value is 0.
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 UtilityAssociation class with the specified type between the specified utility elements with IsContainmentVisible value.
Declaration
public UtilityAssociation(UtilityAssociationType associationType, UtilityElement fromElement, UtilityElement toElement, bool isContainmentVisible)
Parameters
Type | Name | Description |
---|---|---|
UtilityAssociationType | associationType | The type of association between the FromElement and ToElement. |
UtilityElement | fromElement | The first participant in the association. |
UtilityElement | toElement | The second participant in the association. |
System.Boolean | 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 UtilityAssociation class with the specified type between the specified utility elements with the FractionAlongEdge value.
Declaration
public UtilityAssociation(UtilityAssociationType associationType, UtilityElement fromElement, UtilityElement toElement, double fractionAlongEdge)
Parameters
Type | Name | Description |
---|---|---|
UtilityAssociationType | associationType | The type of association between the FromElement and ToElement. |
UtilityElement | fromElement | The first participant in the association. |
UtilityElement | toElement | The second participant in the association. |
System.Double | fractionAlongEdge | The relative location along the non-spatial edge where the junction is (logically) located. |
Remarks
This constructor is typically used when creating JunctionEdgeObjectConnectivityMidspan 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 |