Partager via


MajorVersion Property

Sets or retrieves a value that indicates the major version of the browser.

Syntax

Visual Basic  Public  Property MajorVersion As int
C# public  int MajorVersion { get; set; }
Managed C++ public:  __property int get_MajorVersion();
public:  __property void set_MajorVersion(int);
JScript public   function get MajorVersion() : int;
public   function set MajorVersion(int);

Possible Values

iMajorVersion int that specifies or receives the major version of the browser.

The property is read/write. The property has no default value.

Remarks

For example, the major version for 3.1 is 3.

Applies To

BrowserLevel

See Also

Internet Explorer WebControls