public class NamedTraceConfiguration
Public Class NamedTraceConfiguration
public class NamedTraceConfiguration
Public Class NamedTraceConfiguration
private void GetNamedTraceConfigurationsByName(UtilityNetwork utilityNetwork, string configurationName) { // Query to find named trace configurations NamedTraceConfigurationQuery namedTraceConfigurationQuery = new NamedTraceConfigurationQuery { Names = new List<string> { configurationName } }; // Get the trace manager from the utility network using (TraceManager traceManager = utilityNetwork.GetTraceManager()) { // A set of named trace configurations specified by the named traced configuration query IReadOnlyList<NamedTraceConfiguration> namedTraceConfigurations = traceManager.GetNamedTraceConfigurations(namedTraceConfigurationQuery); foreach (NamedTraceConfiguration namedTraceConfiguration in namedTraceConfigurations) { // Use NamedTraceConfiguration's object } } }
private void GetNamedTraceConfigurationsFromUtilityNetworkLayer(UtilityNetworkLayer utilityNetworkLayer) { // Get all named trace configurations in the utility network IReadOnlyList<NamedTraceConfiguration> namedTraceConfigurations = utilityNetworkLayer.GetNamedTraceConfigurations(); foreach (NamedTraceConfiguration namedTraceConfiguration in namedTraceConfigurations) { // Use NamedTraceConfiguration's object } }
System.Object
ArcGIS.Core.Data.UtilityNetwork.Trace.NamedTraceConfiguration
Target Platforms: Windows 11, Windows 10