CommonCModule.AcceptFunctionCall
- Mise à jour2025-07-21
- Temps de lecture : 1 minute(s)
CommonCModule.AcceptFunctionCall
Syntax
CommonCModule.AcceptFunctionCall( evaluationContext, funcCall, allowEditingPrototype, prototypeModified, cancelled)
Return Value
Returns True if this method modifies the module.
Purpose
This method updates the function name, parameters, and parameter values on the module to match the function call you pass as the funcCall parameter. If the function call you pass modifies the prototype of the function, this method prompts the user to accept the changes to the prototype.
Remarks
Use the CommonCModule.FunctionCall property to obtain a string that represents the current function call using syntax for calling an expression function.
Parameters
evaluationContext As PropertyObject
[In] This method uses this object to locate variables the funcCall parameter specifies.
funcCall As String
[In] Specifies a string for the function call that uses the syntax for calling an expression function.
allowEditingPrototype As Boolean
[In] Pass True to allow this method to update the prototype of the currently loaded parameters from the funcCall parameter. Pass False to allow this method to only update the function name and parameter values.
prototypeModified As Boolean
[Out] Returns True if this method added, removed, or changed the type of a parameter in the function call.
cancelled As Boolean
[Out] Returns True if the user cancels accepting the changes to the prototype.