Click or drag to resize

ModLoad Method

Load a mod from the specified Uri. A ModHost will be created to manage the mod and returned as the result. If the mod is already loaded then this method will simply return the ModHost for the loaded mod.

Namespace:  UMod
Assembly:  UMod (in UMod.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static ModHost Load(
	Uri path,
	bool autoActivate = true
)

Parameters

path
Type: SystemUri
The Uri to load the mod from
autoActivate (Optional)
Type: SystemBoolean
Should the mod be automatially activated once loaded. See Activate

Return Value

Type: ModHost
The ModHost that is managing the mod
See Also