WebBrowser.Version 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取已安装Internet Explorer的版本。
public:
property Version ^ Version { Version ^ get(); };
[System.ComponentModel.Browsable(false)]
public Version Version { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Version : Version
Public ReadOnly Property Version As Version
属性值
已安装Internet Explorer的版本。
- 属性
注解
WebBrowser 控件是随Internet Explorer一起安装的组件的托管包装器。 使用此属性可确定安装Internet Explorer的版本。 当应用程序使用仅在特定版本中存在的Internet Explorer功能时,这非常有用。 如果本地计算机上不存在所需的版本,可以提供替代功能或提示用户升级。