On (Visual Basic)On (Visual Basic)

引入对运行时错误的响应,或打开编译器选项。Introduces a response to a run-time error or turns a compiler option on.

在 "查询" 中,标识要联接的集合的键。In queries, identifies keys for the collections being joined.


On关键字用于以下上下文:The On keyword is used in these contexts:

Group Join 子句Group Join Clause

Join 子句Join Clause

On Error 语句On Error Statement

Option Explicit 语句Option Explicit Statement

Option Infer 语句Option Infer Statement

Option Strict 语句Option Strict Statement

请参阅See also