AnsweredAssumed Answered

Return value of Geoprocessor by name

Question asked by yvo.weidmann on Nov 3, 2015
Latest reply on Nov 4, 2015 by FGibson-esristaff

Dear GeoNet


Is there a way to retrieve the return value of a geoprocessor by the name of the value?


Currently I am using the call:

IGeoProcessorResult geoProcessorResult = gp.Execute(toolName, parameters, null);


I am able to retrieve the geoprocessor results from the array geoProcessorResult with:

IGPValue myValue = geoProcessorResult.GetOutput(i);


But I would like to retrieve the result with the name of the parameter instead with the index.


Looking forward to any suggestions.


Best regards,