点击或拖拽改变大小

FParamCount Function

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

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

Parameters

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

Return Value

类型:DWord
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.
See Also