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


IGPFunctionFactory Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPFunctionFactory Interface

Provides access to the properties/methods of a geoprocessing function factory object.

Product Availability

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

Members

Description
Read-only property Alias Alias of the geoprocessing function factory.
Read-only property CLSID The class identifier (CLSID) of the geoprocessing function factory.
Method GetFunction Returns the geoprocessing function object with the given name.
Method GetFunctionEnvironments Returns an enumeration of the geoprocessing environments that the geoprocessing functions managed by this function factory use.
Method GetFunctionName Returns the geoprocessing function name object with the given name.
Method GetFunctionNames Returns an enumeration of function name objects of all the geoprocessing functions managed by this function factory.
Read-only property Name Name of the geoprocessing function factory.

CoClasses that implement IGPFunctionFactory

Remarks

The IGPFunctionFactory is a logical grouping of tools. It is registered into the component category CATID_GPFunctionFactories.

 

The function factory is responsible for handing out the function name objects for each geoprocessing function, in other words it makes a geoprocessing tool accessible. It is required when building geoprocessing functions tools. For more information about using the IGPFuctionFactory refer to the technical document Building Geoprocessing Function Tools.

.NET Samples

Calculate area geoprocessing function tool (Code Files: CalculateAreaFunction)