WebBrowser.Version 属性

定义

获取已安装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功能时,这非常有用。 如果本地计算机上不存在所需的版本,可以提供替代功能或提示用户升级。

适用于

另请参阅