Assigns an object reference to a
Module's public property.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic void Set(
string name,
params Object?[]? args
)
Public Sub Set (
name As String,
ParamArray args As Object()
)
public:
virtual void Set(
String^ name,
... array<Object^>^ args
) sealed
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)
ExceptionsException | Condition |
---|
Exception | Generic 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