[英]List of Parameters in a function VS2010
有谁知道是否存在类,列表或其他形式的函数,这些函数可以将当前函数的当前参数和值列表返回给我?
You are probably looking for MethodInfo.GetCurrentMethod() and then using GetParameters() you can get information about the parameters. 您可能正在寻找MethodInfo.GetCurrentMethod() ,然后使用GetParameters()获得有关参数的信息。
You may use ICorDebugILFrame::GetArgument Method function that's actually capable of getting argument values.( Although truly speaking I have never used this function ) 您可以使用ICorDebugILFrame :: GetArgument方法函数,该函数实际上能够获取参数值。( 尽管实际上, 我从未使用过此函数 )
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.