This document is archived and information here might be outdated. Recommended version. |
Starts up the extension with the given initialization data.
[Visual Basic .NET]
Public Sub Startup ( _
ByRef initializationData As Object _
)
[C#]
public void Startup (
ref object initializationData
);
[C++]
HRESULT Startup(
Variant* initializationData
);
[C++] Parameters initializationData [in]
initializationData is a parameter of type VARIANT*
initializationData is a reference to the object with which this extension is registered.
When implementing IExtension to create a custom extension, use the Startup method to perform some action when the extension gets loaded.
The following list is an example of some of the common object types for the initializationData parameter.
Extension Category initializationData object type
ESRI Mx Application Application (IMxApplication)
ESRI Gx Applcation Application (IGxApplication)
ESRI Editor Extensions Editor (IEditor)