AnsweredAssumed Answered

Syntax for Delete Field geoprocessing tool

Question asked by sfarley on Sep 23, 2019
Latest reply on Sep 25, 2019 by gkmieliauskas_cellexp

What is the syntax for deleting multiple fields programmatically? For instance, to add fields, it is

List<object> args = new List<Object> { path, FieldNames};



   IGPResult res = await Georprocessing.ExecuteToolAsync("management.AddFields", Geoprocessing.MakeValueArray(args.ToArray()));



I tried DeleteFields with the same Fields and it fails and have not been able to find the syntax for it in searching.


Thank you,