ESRI.ArcGIS.NetworkAnalystTools
AddLocations Constructor(Object,String,Object,Object,Object)
See Also  Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
ESRI.ArcGIS.NetworkAnalystTools Namespace > AddLocations Class > AddLocations Constructor : AddLocations Constructor(Object,String,Object,Object,Object)




in_network_analysis_layer
Network analysis layer to which the network analysis objects will be added. (In, Required)
sub_layer
The sublayer of the network analysis layer to which the network analysis objects will be added. (In, Required)
in_table
The feature class or the table that is the source for the new network analysis objects. (In, Required)
field_mappings
Sets the values for the properties of the network analysis objects. Properties can be set to a constant or mapped to a field from the input feature class or table. (In, Required)
search_tolerance
The search tolerance for locating the input features on the network. Features that are outside the search tolerance are left unlocated. The parameter includes a value and units for the tolerance. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal in_network_analysis_layer As Object, _
   ByVal sub_layer As String, _
   ByVal in_table As Object, _
   ByVal field_mappings As Object, _
   ByVal search_tolerance As Object _
)
Visual Basic (Usage)Copy Code
Dim in_network_analysis_layer As Object
Dim sub_layer As String
Dim in_table As Object
Dim field_mappings As Object
Dim search_tolerance As Object
 
Dim instance As AddLocations(in_network_analysis_layer, sub_layer, in_table, field_mappings, search_tolerance)
C# 
public AddLocations( 
   object in_network_analysis_layer,
   string sub_layer,
   object in_table,
   object field_mappings,
   object search_tolerance
)

Parameters

in_network_analysis_layer
Network analysis layer to which the network analysis objects will be added. (In, Required)
sub_layer
The sublayer of the network analysis layer to which the network analysis objects will be added. (In, Required)
in_table
The feature class or the table that is the source for the new network analysis objects. (In, Required)
field_mappings
Sets the values for the properties of the network analysis objects. Properties can be set to a constant or mapped to a field from the input feature class or table. (In, Required)
search_tolerance
The search tolerance for locating the input features on the network. Features that are outside the search tolerance are left unlocated. The parameter includes a value and units for the tolerance. (In, Required)

See Also

© 2010 All Rights Reserved.