Method CreateElement
CreateElement(ArcGISFeature)
Creates a Utility
Declaration
public UtilityElement CreateElement(ArcGISFeature arcGISFeature)
Parameters
Type | Name | Description |
---|---|---|
Arc |
arcGISFeature | The ArcGIS feature from which this feature element is created. |
Returns
Type | Description |
---|---|
Utility |
Utility |
Remarks
If the feature's Asset
Exceptions
Type | Condition |
---|---|
System. |
The input feature does not belong to this utility network. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.7 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.7 - 200.6 |
Xamarin.Android | 100.7 - 100.15 |
Xamarin.iOS | 100.7 - 100.15 |
UWP | 100.7 - 200.6 |
Relevant samples
CreateElement(ArcGISFeature, UtilityTerminal)
Creates a Utility
Declaration
public UtilityElement CreateElement(ArcGISFeature arcGISFeature, UtilityTerminal terminal = null)
Parameters
Type | Name | Description |
---|---|---|
Arc |
arcGISFeature | The ArcGIS feature from which this feature element is created. |
Utility |
terminal | The Utility |
Returns
Type | Description |
---|---|
Utility |
Utility |
Remarks
If the optional terminal
is not supplied, and the feature's Asset
Exceptions
Type | Condition |
---|---|
System. |
The input feature does not belong to this utility network. |
System. |
Terminal does not belong to the feature's asset type. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.6 - 200.6 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.6 |
CreateElement(UtilityAssetType, Guid)
Creates a Utility
Declaration
public UtilityElement CreateElement(UtilityAssetType assetType, Guid globalId)
Parameters
Type | Name | Description |
---|---|---|
Utility |
assetType | The Utility |
System. |
globalId | The global ID of the feature from which this feature element is created |
Returns
Type | Description |
---|---|
Utility |
Utility |
Remarks
If the Asset
Exceptions
Type | Condition |
---|---|
System. |
Asset type does not belong to this utility network. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.7 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.7 - 200.6 |
Xamarin.Android | 100.7 - 100.14 |
Xamarin.iOS | 100.7 - 100.15 |
UWP | 100.7 - 200.6 |
Relevant samples
CreateElement(UtilityAssetType, Guid, UtilityTerminal)
Creates a Utility
Declaration
public UtilityElement CreateElement(UtilityAssetType assetType, Guid globalId, UtilityTerminal terminal = null)
Parameters
Type | Name | Description |
---|---|---|
Utility |
assetType | The Utility |
System. |
globalId | The global ID of the feature from which this feature element is created |
Utility |
terminal | The Utility |
Returns
Type | Description |
---|---|
Utility |
Utility |
Remarks
If the optional terminal
is not supplied, and the feature's Asset
Exceptions
Type | Condition |
---|---|
System. |
Asset type does not belong to this utility network. |
System. |
Terminal does not belong to the feature's asset type. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.6 - 200.6 |
Xamarin.Android | 100.6 - 100.14 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.6 |