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


IGPToolExtensionFactory.Create Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

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