แก้ไข

แชร์ผ่าน


Globals.ScriptEngineMinorVersion Property

Definition

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

public:
 static property int ScriptEngineMinorVersion { int get(); };
public static int ScriptEngineMinorVersion { get; }
static member ScriptEngineMinorVersion : int
Public ReadOnly Property ScriptEngineMinorVersion As Integer

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

See also