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




in_table
The input feature class or table for which the fields containing data values will be transposed. (In, Required)
in_field
The fields or columns containing data values in the input table that need to be transposed. (In, Required)
out_table
The output feature class or table. The output feature class or table will contain the transposed field, a value field, and any number of attribute fields specified that need to be inherited from the input table. (Out, Required)
in_transposed_field_name
The name of the field that will be created to store field name values of the fields that are selected to be transposed. Any valid field name can be used. (In, Required)
in_value_field_name
The name of the value field that will be created to store the values from the input table. Any valid field name can be set, as long as it does not conflict with existing field names from the input table or feature class. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal in_table As Object, _
   ByVal in_field As Object, _
   ByVal out_table As Object, _
   ByVal in_transposed_field_name As String, _
   ByVal in_value_field_name As String _
)
Visual Basic (Usage)Copy Code
Dim in_table As Object
Dim in_field As Object
Dim out_table As Object
Dim in_transposed_field_name As String
Dim in_value_field_name As String
 
Dim instance As TransposeFields(in_table, in_field, out_table, in_transposed_field_name, in_value_field_name)
C# 
public TransposeFields( 
   object in_table,
   object in_field,
   object out_table,
   string in_transposed_field_name,
   string in_value_field_name
)

Parameters

in_table
The input feature class or table for which the fields containing data values will be transposed. (In, Required)
in_field
The fields or columns containing data values in the input table that need to be transposed. (In, Required)
out_table
The output feature class or table. The output feature class or table will contain the transposed field, a value field, and any number of attribute fields specified that need to be inherited from the input table. (Out, Required)
in_transposed_field_name
The name of the field that will be created to store field name values of the fields that are selected to be transposed. Any valid field name can be used. (In, Required)
in_value_field_name
The name of the value field that will be created to store the values from the input table. Any valid field name can be set, as long as it does not conflict with existing field names from the input table or feature class. (In, Required)

See Also

© 2010 All Rights Reserved.