Gets or sets the source code for the macro/module.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxstring Code { get; set; }
Property Code As String
Get
Set
property String^ Code {
String^ get ();
void set (String^ value);
}
Property Value
String
The source code for the macro/module.
Remarks
The
Code property is the entire macro/module text, including the header
(properties block and attributes section).
Assigning this property alone does not trigger execution.
You must set the Run property in order to trigger execution.
If you use set Run to True to run the code, the Code property is read-only
until Run returns to False.
When FileTools is True the Code property can
be changed by assigning to the FileName property.
See Also