1
有什么方法可以获取已在字符串中命名的变量的值。 例如:获取以字符串命名的变量的值
Dim number As Integer = 12
Dim numberCopy As Integer = Convert("number")
' numberCopy will now equal 12
' Convert is the function to convert the string to the variable
感谢您的回答。我不确定Introspection是否可以访问本机类型。在发布问题后,我也意识到了计划中的缺陷。 –