Method CreateAsync
CreateAsync(UtilityNetwork, UtilityAssetType)
Analyzes a Utility
Declaration
public static Task<SnapRules> CreateAsync(UtilityNetwork utilityNetwork, UtilityAssetType assetType)
Parameters
Type | Name | Description |
---|---|---|
Utility |
utilityNetwork | The Utility |
Utility |
assetType | The asset type of the feature geometry that will be edited in the Geometry |
Returns
Type | Description |
---|---|
System. |
A Snap |
Remarks
To configure rule-based snapping, use this method to create a Snap
Ensure that the feature tables underlying the given Utility
If your map view displays a web map, or is set from a Mobile
Ensure that the Utility
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.7 |
.NET | 200.7 |
.NET Windows | 200.7 |
.NET Android | 200.7 |
.NET iOS | 200.7 |
.NET Framework | 200.7 |
UWP | 200.7 |
CreateAsync(UtilityNetwork, FeatureTable, IEnumerable<KeyValuePair<String, Object>>)
Analyzes a Utility
Declaration
public static Task<SnapRules> CreateAsync(UtilityNetwork utilityNetwork, FeatureTable featureTable, IEnumerable<KeyValuePair<string, object>> attributes)
Parameters
Type | Name | Description |
---|---|---|
Utility |
utilityNetwork | The Utility |
Feature |
featureTable | The feature table that will contain the feature whose geometry will be edited in the Geometry |
System. |
attributes | The attributes for the feature whose geometry will be edited in the Geometry |
Returns
Type | Description |
---|---|
System. |
A Snap |
Remarks
To configure rule-based snapping, use this method to create a Snap
Ensure that the feature tables underlying the given Utility
If your map view displays a web map, or is set from a Mobile
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.7 |
.NET | 200.7 |
.NET Windows | 200.7 |
.NET Android | 200.7 |
.NET iOS | 200.7 |
.NET Framework | 200.7 |
UWP | 200.7 |