ArcObjects Library Reference (Geoprocessing)  

IGPFunction Interface

Provides access to the properties/methods of a geoprocessing function object. Note: the IGPFunction interface has been superseded byIGPFunction2. Please consider using the more recent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

When To Use

IGPFunction is used to obtain access to the properties and methods required to build a function tool. For additional use information check the interface's individual properties and methods and the Building Geoprocessing Function Tools.

Members

Description
Read-only property DialogCLSID The class identifier (CLSID) of the custom dialog object to use when invoking the geoprocessing function.
Read-only property DisplayName Displayed name of the geoprocessing function.
Method Execute Executes the geoprocessing function using the given array of parameter values.
Read-only property FullName The function name object of the geoprocessing function.
Method GetRenderer Returns the custom renderer to use for the specified parameter.
Read-only property HelpContext The context identifier of the topic within the help file for this function object.
Read-only property HelpFile Name of the (CHM) file containing help information for this function object.
Method IsLicensed Returns whether the geoprocessing function has all necessary licenses in order to execute.
Read-only property MetadataFile Name of the (XML) file containing the default metadata for this function object.
Read-only property Name Name of the geoprocessing function.
Read-only property ParameterInfo The list of parameters accepted by the geoprocessing function.
Method Validate Validates the given array of parameter values.

CoClasses that implement IGPFunction

CoClasses and Classes Description
FMEExportFunction (esriDataInterop) FMEExportFunction Class
FMEImportFunction (esriDataInterop) FMEImportFunction Class
GPConvertMapServerCacheStorageFormat Convert map cache storage format.
GPCreateMapServerCache Create pre-rendered tile cache for the MapServer.
GPDeleteGlobeServerCache (esriGlobeCore) Delete pre-rendered tile cache for the GlobeServer.
GPDeleteMapServerCache Delete pre-rendered tile cache for the MapServer.
GPExportMapServerCache Export Map Server Cache.
GPExportToKML (esriGlobeCore) .
GPGenerateGlobeServerCache (esriGlobeCore) Generate pre-rendered tile cache for the GlobeServer.
GPGenerateMapServerCache Generate pre-rendered tile cache for the MapServer.
GPGenerateMapServerCacheTilingScheme Generate Map Server Cache Tiling Scheme.
GPImportMapServerCache Import Map Server Cache.
GPKMLToLayer (esriGlobeCore) .
GPLayersToKML (esriGlobeCore) .
GPManageMapServerCacheTiles Manage pre-rendered tile cache for the MapServer.
GPMultipatchToCollada (esriGlobeCore) .
GPUpdateGlobeServerCache (esriGlobeCore) Update pre-rendered tile cache for the GlobeServer.
GPUpdateGlobeServerCache2 (esriGlobeCore) Update pre-rendered tile cache for the GlobeServer.
GPUpdateMapServerCache Update pre-rendered tile cache for the MapServer.
GPUpdateMapServerCacheScales Update Map Server Cache Tiling Scales.

Remarks

To create a geoprocessing function tool requires the implementation of at least two objects: One is a function object that implements the IGPFunction interface; the other one is a function factory object that implements the IGPFunctionFactory interface. The IGPFunction interface provides access to properties and methods needed to build a function tool.

.NET Samples

Calculate area geoprocessing function tool (Code Files: CalculateAreaFunction) | Import signposts (Code Files: SignpostGPFunctionFactory) |