Triggered when the plugin is initialized to allow for any additional needed initialization. Must return true to turn on use of plugin.
[Visual Basic .NET] |
---|
Public Function Init( _ ByVal Site As IAgUtPluginSite _ ) As Boolean |
[C#] |
---|
public bool Init( IAgUtPluginSite Site ); |
[Managed C++] |
---|
public: bool Init( IAgUtPluginSite ^ Site ); |
[Unmanaged C++] |
---|
public: HRESULT Init( IAgUtPluginSite * Site, VARIANT_BOOL * pResult ); |
[Java] |
---|
public bool init( IAgUtPluginSite Site ); |
- Site
- The site object will either be a IAgStkPluginSite component (when the plugin is called from within STK), an IAgGatorPluginSite (when the plugin is called from within Astrogator) or an IAgOdtkPluginSite component (when the plugin is called from within ODTK).
Return true to indicate success, false to indicate failure. If false is returned, no method of the plugin will be called.