This document is archived and information here might be outdated.  Recommended version.


IGPFunction Interface (ArcObjects .NET 10.4 SDK)
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
ExportWebMap Export WebMap to a specified format based on potential layout provided.
FMEExportFunction (esriDataInterop) FMEExportFunction Class
FMEImportFunction (esriDataInterop) FMEImportFunction Class
GPComputeBlockAdjustment Computes Block Adjustment using a 3rd party BA engine.
GPConvertCacheStorageFormat Convert storage format of pre-rendered tile cache for the MapServer.
GPConvertCacheStorageFormatWorker Convert storage format of pre-rendered tile cache for the MapServer.
GPConvertMapServerCacheStorageFormat Convert map cache storage format.
GPCreateMapServerCache Create pre-rendered tile cache for the MapServer.
GPDeleteGlobeCache (esriGlobeCore) Delete pre-rendered tile cache for the GlobeServer.
GPDeleteGlobeServerCache (esriGlobeCore) Delete pre-rendered tile cache for the GlobeServer.
GPDeleteMapServerCache Delete pre-rendered tile cache for the MapServer.
GPDeleteSceneCache (esriGlobeCore) Delete scene node caches for the SceneServer.
GPESRIAvailableFonts Reports the available fonts on the server
GPESRICreateFeatureServiceReplica Creates Feature Service Replica ASync.
GPESRILaunchWorker launch a worker component of a distributed geoprocessing job
GPESRISyncFeatureServiceReplica Synchronize Feature Service Replica ASync.
GPExportCache Export pre-rendered tile cache.
GPExportCacheWorker Export pre-rendered tile cache worker.
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.
GPImportCache Import pre-rendered tile cache.
GPImportCacheWorker Import pre-rendered tile cache worker.
GPImportMapServerCache Import Map Server Cache.
GPKMLToLayer (esriGlobeCore) .
GPLayersToKML (esriGlobeCore) .
GPManageGlobeCache (esriGlobeCore) Update pre-rendered tile cache for the GlobeServer.
GPManageGlobeCacheWorker (esriGlobeCore) Update pre-rendered tile cache for the GlobeServer.
GPManageMapCacheScales Manage pre-rendered tile cache scales for the Map.
GPManageMapServerCacheTiles Manage pre-rendered tile cache for the MapServer.
GPManageSceneCache (esriGlobeCore) Update scene node caches for the SceneServer.
GPManageSceneCacheWorker (esriGlobeCore) Update scene node caches for the SceneServer.
GPMultipatchToCollada (esriGlobeCore) .
GPReportCacheStatus Report status information for cached services
GPSAController SA Controller GP Service Task
GPSAWorker SA Worker GP Service Task
GPServerCachingCreateMapCache Create pre-rendered tile cache for the MapServer.
GPServerCachingDeleteMapCache Delete pre-rendered tile cache for the MapServer.
GPServerCachingManageMapCacheTiles Manage pre-rendered tile cache for the Map.
GPServerCachingManageMapCacheTilesWorker Manage pre-rendered tile cache for the Map.
GPServerCachingValidateMapCacheTiles Validate pre-rendered tile cache for the Map.
GPServerCachingValidateMapCacheTilesWorker Validate pre-rendered tile cache for the Map.
GPSuggestDefaultScales Suggest pre-rendered tile cache scales for the Map.
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.
GPUpgradeCacheStorageFormat Upgrade storage format of pre-rendered tile cache for the MapServer.
GPUpgradeCacheStorageFormatWorker Upgrade storage format of pre-rendered tile cache for the MapServer.
GPUpgradeMapServerCacheStorageFormat Upgrade map cache storage format.
GPValidateMapServerCacheTiles Manage pre-rendered tile cache for the MapServer.

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)