Shutdown 方法

描述
关闭或重启 Windows。

语法
Sub Shutdown (Mode As SpelShutdownMode)

参数

  • 模式
    0 = 关闭 Windows。1 = 重启 Windows。

参阅
Reset 方法

Shutdown 示例
VB 例:

' 重启 Windows  
m_spel.Shutdown(1)  

C# 例:

// 重启 Windows  
m_spel.Shutdown(1);