![]() |
• Controller System | ||
|
API Links
Developer Links
|
Method::SetMethodResultDefined in:
Sets the boolean result for a method.
C4Methods.hPrototype
Parameters
Description
The SetMethodResult function sets the boolean result for a method. This function should be called from within the overridden Method::Execute function for script methods that need to specify a boolean result. If the SetMethodResult function is not called, then the boolean result for a method is true by default.If the Method::SetOutputValue function is called, then the boolean result is automatically set by converting the output value to a boolean value. To specify a boolean result independently, call the SetMethodResult function after calling the SetOutputValue function.
See Also
|