Open Table of Contents

Delete Multiple Fields

Go to ToolBox Implementation Go to .NET Implementation

Deletes multiple fields from a layer. If the source of the layer is a feature class, the operation can be performed directly on the source. If the source is a coverege or geodatabase,  new feature class is the only option

Inputs:

Outputs:

ToolBox implementation
(Go to TOP)

Command line syntax

ET_GPDeleteMultipleFields <input_dataset> {out_feature class} <Field;Field...>

Parameters

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). If not specified the fields will be deleted from the input dataset.
<Field ;Field...> A list of the fields to be be deleted.

Scripting syntax

ET_GPDeleteMultipleFields (input_dataset, out_feature_class, fields)

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

.NET implementation
(Go to TOP)

DeleteMultipleFields(pInFC As IFeatureClass, fieldList As List(Of String), Optional sOutFName As String = "") As IFeatureClass

Copyright Ianko Tchoukanski