This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IC > IClassExtension Interface > IClassExtension.Init Method (ArcObjects .NET 10.4 SDK) |
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
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.