Globals.ScriptEngineMinorVersion 属性
定义
返回一个整数,它包含当前使用的运行时的次要版本号。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; }
member this.ScriptEngineMinorVersion : int
Public ReadOnly Property ScriptEngineMinorVersion As Integer
属性值
当前使用的运行时的次版本号。The minor version number of the runtime currently in use.
示例
下面的示例使用 ScriptEngineMinorVersion 属性和相关属性返回描述当前运行时信息的字符串: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
注解
返回值直接对应于当前运行时的 DLL 中包含的版本信息。The returned value corresponds directly to the version information contained in the DLL for the current runtime.
ScriptEngineMinorVersion当应用程序作为独立程序、脚本或主机应用程序运行时,可以使用。You can use ScriptEngineMinorVersion when your application is running as a standalone program, in a script, or in a host application.