ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Core.Geoprocessing Namespace / IGPResult Interface
Properties

In This Topic
    IGPResult Interface Members
    In This Topic

    The following tables list the members exposed by IGPResult.

    Public Properties
     NameDescription
     PropertyGeoprocessing environments used locally in tool execution.
    • Tuple.Item1 - name
    • Tuple.Item2 - datatype
    • Tuple.Item3 - value
     
     PropertyError code for tool execution result:
    • 0 : Success (tool executed without any error)
    • not 0 : Tool failed or was canceled.
     
     Property Returns error messages - see code example below:  
     Property True if tool executed with any warning.  
     Property True if tool execution is canceled before it finishes.  
     Property True when tool fails or canceled.  
     Property All output messages. To filter only one type of messages use GPMessageType (Warning, Error) - see code example below.  
     Property
    • Tuple.Item1 - name
    • Tuple.Item2 - datatype
    • Tuple.Item3 - value
    • Tuple.Item4 - input = true, output = false
     
     Property Returns execution result value as a string or null if tool execution fails.  
     Property Output values, null if tool execution fails.  
     Property Data types of output values, null if tool fails.  
    Top
    See Also