Click or drag to resize

ModuleSet Method

Assigns an object reference to a Module's public property.

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
public void Set(
	string name,
	params Object?[]? args
)

Parameters

name  String
Set the 'name' property reference.
args  Object
These argument values are passed to the property set. Use SetPA to pass values by reference. Named arguments are allowed.

Implements

IModuleSet(String, Object)
Exceptions
ExceptionCondition
ExceptionGeneric exception during script execution.
Remarks
This method doesn't return until the property set has completed. If it fails to complete it is terminated and an exception is thrown. Use Error.FromException to get the error associated with the exception.
See Also