GetRef捕获方法? [英] GetRef to capture methods?

查看:85
本文介绍了GetRef捕获方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚发现了VBScript的GetRef函数,该函数获得对以其参数命名的函数的引用.有没有办法以这种方式获得对方法的引用?我有一种预感,VBScript没有提供这样做所需的复杂程度,但是肯定会很好.

I've just discovered VBScript's GetRef function, which gets a reference to the function named by its argument. Is there any way to get a reference to a method in this way? I have a hunch that VBScript doesn't offer the sophistication of binding needed to do so, but it would sure be nice.

推荐答案

否,GetRef不支持类方法.

这篇关于GetRef捕获方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆