public TraceArgument( IEnumerable<Element> startingLocations )
Public Function New( _ ByVal startingLocations As IEnumerable(Of Element) _ )
Parameters
- startingLocations
- A set of starting locations from which to originate the trace.
TraceArgument
class using startingLocations.public TraceArgument( IEnumerable<Element> startingLocations )
Public Function New( _ ByVal startingLocations As IEnumerable(Of Element) _ )
Exception | Description |
---|---|
System.ArgumentNullException | startingLocations is null. -or- Any ArcGIS.Core.Data.UtilityNetwork.Element in startingLocations is null. |
System.ArgumentException | startingLocations is empty. |
IReadOnlyList<Element> startingPointList = new List<Element>(); // Code to fill in list of starting points goes here... TraceArgument traceArgument = new TraceArgument(startingPointList); TraceConfiguration traceConfiguration = new TraceConfiguration(); // Code to fill in trace configuration goes here... traceArgument.Configuration = traceConfiguration;
Target Platforms: Windows 11, Windows 10