Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))

ScriptEngineMajorVersion Property

Class

Microsoft.VisualBasic.Globals

Syntax

Dim result As Integer = Globals.ScriptEngineMajorVersion

Description

The ScriptEngineMajorVersion property returns the major version number of the Visual Basic language engine.

Usage at a Glance

This property returns 7 in the 2002 and 2003 releases of Visual Basic; the 2005 release of VB returns 8.

Version Differences

The ScriptEngineMajorVersion property is new to .NET and is not supported in VB 6.

See Also

ScriptEngine Property, ScriptEngineBuildVersion Property, ScriptEngineMinorVersion Property

Категории