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


IGPToolExtensionFactory.Create Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPToolExtensionFactory Interface > IGPToolExtensionFactory.Create Method
ArcGIS Developer Help

IGPToolExtensionFactory.Create Method

Creates a new instance of a tool extension in the given toolbox.

[Visual Basic .NET]
Public Function Create ( _
    ByVal Parent As Integer, _
    ByVal destination As IGPToolbox, _
    ByRef defaultName As String, _
    ByRef defaultDisplayName As String, _
    ByRef defaultDescription As String _
) As IGPToolExtension
[C#]
public IGPToolExtension Create (
    int Parent,
    IGPToolbox destination,
    ref string defaultName,
    ref string defaultDisplayName,
    ref string defaultDescription
);
[C++]
HRESULT Create(
  OLE_HANDLE Parent,
  IGPToolbox* destination,
  System.String* defaultName,
  System.String* defaultDisplayName,
  System.String* defaultDescription
);
[C++]
Parameters
Parent [in]

Parent is a parameter of type OLE_HANDLE destination [in]
destination is a parameter of type IGPToolbox* defaultName [out]
defaultName is a parameter of type BSTR* defaultDisplayName [out]
defaultDisplayName is a parameter of type BSTR* defaultDescription [out]
defaultDescription is a parameter of type BSTR*

Product Availability

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

See Also

IGPToolExtensionFactory Interface