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


IGPToolExtensionFactory.Create Method (ArcObjects .NET 10.4 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(
  long Parent,
  IGPToolbox* destination,
  BSTR* defaultName,
  BSTR* defaultDisplayName,
  BSTR* defaultDescription,
  IGPToolExtension** ToolExtension
);
[C++]

Parameters Parent [in] Parent is a parameter of type long 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 ToolExtension [out, retval]
ToolExtension is a parameter of type IGPToolExtension

Product Availability

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

See Also

IGPToolExtensionFactory Interface