点击或拖拽改变大小

Functions.FParamCount 方法

X#
Return the number of local arguments that a function is expecting.

命名空间:  XSharp.RT
程序集:  XSharp.RT (在 XSharp.RT.dll 中) 版本:2.22 GA
语法
 FUNCTION FParamCount(
	symFunction AS STRING
) AS DWORD
查看代码

参数

symFunction
类型:String
The name of the function to examine.

返回值

类型:UInt32
The number of arguments that a method is expecting.
备注
Note that you can't use this for functions that are overloaded.
And unlike in VO this function can also be used to return the number of parameters for typed functions.
参见