请看附件代码
topThird = RuntimeHelpers.GetObjectValue(NewLateBinding.LateGet(Nothing, GetType((System.Math), "Round", New Object() {Operators.DivideObject(totalTitles, CType(3, Integer))}, Nothing, Nothing, Nothing))
我在 VS 2008 中收到一个错误,上面写着“Type Expected”。我不知所措,无法弄清楚我需要添加什么。我可以从错误中看到一些不正确的东西,但我不确定是什么。BTW 选项严格是 ON
如果需要,我可以发布整个功能,如果这有帮助,请发表评论