Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
调用函数时如何使用命名参数?在这种情况下,我调用 ac# 静态方法,即
INVOKE TYPE ClassName::FunctionName(PARAMETER-VALUE-1, PARAMETER-VALUE-2)
调用类型 ClassName::Method(param parmName = parmValue , 参数parmName = parmValue )
注意 param 或 parameter 可以用作关键字。也可以使用空格代替逗号分隔符
例如:
调用类型 classname::Method(param StringParm = "a String", parameter IntParm = 100)