RhinoCommon API
PlugInOnLoad Method |
Is called when the plug-in is being loaded.
Namespace: Rhino.PlugIns
Assembly: RhinoCommon (in RhinoCommon.dll)

protected virtual LoadReturnCode OnLoad( ref string errorMessage )
Protected Overridable Function OnLoad ( ByRef errorMessage As String ) As LoadReturnCode
Parameters
- errorMessage
- Type: SystemString
If a load error is returned and this string is set. This string is the error message that will be reported back to the user.
Return Value
Type: LoadReturnCodeAn appropriate load return code.
The default implementation returns Success.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14