共用方式為


DiagnosticChangedEventArgs type

呼叫 'diagnosticChanged' 事件的接聽程式自變數

  • 值為 DiagnosticQuality 或 DiagnosticFlag:
    • DiagnosticQuality = enum { Good = 1, Poor = 2, Bad = 3 }.
    • DiagnosticFlag = true |假。
  • valueType = 'DiagnosticQuality' |'DiagnosticFlag'
type DiagnosticChangedEventArgs = {
  value: DiagnosticQuality | DiagnosticFlag
  valueType: DiagnosticValueType
}