返回对一个 Active Document 容器的对象引用。
语法
GETHOST( )
返回值类型
对象
说明
使用 GETHOST() 确定一个 Active Document 的容器。该对象引用的 Name 属性可以用来确定容器的名称(例如 Microsoft Internet Explorer)。
如果不能确定该容器,或者 Active Document 没有在容器中运行,则 GETHOST() 返回null 值(例如,Active Document 在 Visual FoxPro 的一次交互工作期或在 Visual FoxPro运行时刻运行)。