Click or drag to resize
PlugInOnLoad Method
Is called when the plug-in is being loaded.

Namespace: Rhino.PlugIns
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
protected virtual LoadReturnCode OnLoad(
	ref string errorMessage
)

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: LoadReturnCode
An appropriate load return code.

The default implementation returns Success.

See Also