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




in_network_analysis_layer
Network analysis layer to which the new field will be added. (In, Required)
sub_layer
The sublayer of the network analysis layer to which the new field will be added. (In, Required)
field_name
The name of the field that will be added to the specified sublayer of the network analysis layer. (In, Required)
field_type
The field type used in the creation of the new field. (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 field_name As String, _
   ByVal field_type As String _
)
Visual Basic (Usage)Copy Code
Dim in_network_analysis_layer As Object
Dim sub_layer As String
Dim field_name As String
Dim field_type As String
 
Dim instance As AddFieldToAnalysisLayer(in_network_analysis_layer, sub_layer, field_name, field_type)
C# 
public AddFieldToAnalysisLayer( 
   object in_network_analysis_layer,
   string sub_layer,
   string field_name,
   string field_type
)

Parameters

in_network_analysis_layer
Network analysis layer to which the new field will be added. (In, Required)
sub_layer
The sublayer of the network analysis layer to which the new field will be added. (In, Required)
field_name
The name of the field that will be added to the specified sublayer of the network analysis layer. (In, Required)
field_type
The field type used in the creation of the new field. (In, Required)

See Also

© 2010 All Rights Reserved.