AnsweredAssumed Answered

What data type is a Value Table in a geoprocessing tool?

Question asked by BRufenacht on Apr 30, 2019
Latest reply on May 2, 2019 by nahmed-esristaff

I am trying to run CalculateGeometryAttributes_management, but I can not figure out what data type to use for the

geometry_property[[Target Field, Property],...]. It appears to be an IEnumerable<KeyValuePair<string,string>>. I tried to use a dictionary, as it has this value type, but it gave me an error. Here is what I have:

Dictionary<string,string> items = new Dictionary<string, string> { "Area", "AREA" };
arguments1 = Geoprocessing.MakeValueArray(floodShape, items, "FEET_US", "SQUARE_FEET_US");
gpResult1 = Geoprocessing.ExecuteToolAsync("CalculateGeometryAttributes_management", arguments1, enviroment, null, null, GPExecuteToolFlags.None);

Anyone know what data type to use?