Globals.ScriptEngineMinorVersion Property

Definition

Returns an integer containing the minor version number of the runtime currently in use.

public static int ScriptEngineMinorVersion { get; }

Property Value

The minor version number of the runtime currently in use.

Examples

The following example uses the ScriptEngineMinorVersion property and related properties to return a string describing the current run-time information:

Function getRuntimeInfo() As String
    Dim runtime As String = ScriptEngine & " Version "
    runtime &= CStr(ScriptEngineMajorVersion) & "."
    runtime &= CStr(ScriptEngineMinorVersion) & "."
    runtime &= CStr(ScriptEngineBuildVersion)
    ' Return the current runtime information.
    Return runtime
End Function

Remarks

The returned value corresponds directly to the version information contained in the DLL for the current runtime.

You can use ScriptEngineMinorVersion when your application is running as a standalone program, in a script, or in a host application.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also