C++ 应用集成 WPS 指南 > 表格 API 参考 > DefaultWebOptions > 属性 > DefaultWebOptions.TargetBrowser 属性
返回或设置一个 MsoTargetBrowser 常量,它指明浏览器的版本。可读写。

语法

表达式.TargetBrowser

表达式   一个代表 DefaultWebOptions 对象的变量。

说明

MsoTargetBrowser 可为以下这些 MsoTargetBrowser 常量之一。
msoTargetBrowserIE4 。Microsoft Internet Explorer 4.0 或更高版本。
msoTargetBrowserIE5 。Microsoft Internet Explorer 5.0 或更高版本。
msoTargetBrowserIE6 。Microsoft Internet Explorer 6.0 或更高版本。
msoTargetBrowserV3 。Microsoft Internet Explorer 3.0、Netscape Navigator 3.0 或更高版本。
msoTargetBrowserV4 。Microsoft Internet Explorer 4.0、Netscape Navigator 4.0 或更高版本。

请参阅