Open Table of Contents

Order Fields

Go to ToolBox Implementation Go to .NET Implementation

Exports a feature layer to a new feature class. The user selects the fields to be exported and the order in which they will appear in the attribute table.



How to use:

ToolBox implementation
(Go to TOP)

Command line syntax

ET_GPOrderFields <input_dataset> <out_feature class> <Field;Field...>


Expression Explanation
<input_dataset> A feature class or feature layer
<out_feature class> A String - the full name of the output feature class (A feature class with the same full name should not exist)
<Field ;Field...> A list of the fields to be be used. The order of the fields in the list will be the order of the fields in the attribute table of the output feature class. Note: only the fields in the list will be available in the output feature class

Scripting syntax

ET_GPOrderFields (input_dataset, out_feature class, ordered fields)

See the explanations above:
<> - required parameter
{} - optional parameter

.NET implementation
(Go to TOP)

OrderFields(pInFC As IFeatureClass, sOutFName As String, ByVal fieldList As List(Of String)) As IFeatureClass

Copyright Ianko Tchoukanski