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


IClassExtension.Init Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IClassExtension.Init Method

Initializes the extension, passing in a reference to its class helper.

[Visual Basic .NET]
Public Sub Init ( _
    ByVal ClassHelper As IClassHelper, _
    ByVal ExtensionProperties As IPropertySet _
)
[C#]
public void Init (
    IClassHelper ClassHelper,
    IPropertySet ExtensionProperties
);
[C++]
HRESULT Init(
  IClassHelper* ClassHelper,
  IPropertySet* ExtensionProperties
);
[C++]

Parameters ClassHelper [in]
ClassHelper is a parameter of type IClassHelper ExtensionProperties [in]
ExtensionProperties is a parameter of type IPropertySet

Product Availability

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

Remarks

If a reference to the class is required by other class extension members, the class helper should be stored in a member variable.  Storing an object or feature class directly within a class extension is strongly discouraged.

See Also

IClassExtension Interface