NotificationKind 列舉 (uiautomationcore.h)

定義值,指出通知事件的型別,以及接聽程式有關處理事件的提示。 例如,如果收到多個通知,則應該全部讀取,或只應讀取最後一個通知等等。

Syntax

typedef enum NotificationKind {
  NotificationKind_ItemAdded = 0,
  NotificationKind_ItemRemoved = 1,
  NotificationKind_ActionCompleted = 2,
  NotificationKind_ActionAborted = 3,
  NotificationKind_Other = 4
} ;

常數

 
NotificationKind_ItemAdded
值: 0
目前的元素和/或容器已新增一些應該向用戶呈現的專案。
NotificationKind_ItemRemoved
值: 1
目前元素已從其中移除一些應該向用戶呈現的專案。
NotificationKind_ActionCompleted
值: 2
目前元素有動作已完成的通知。
NotificationKind_ActionAborted
值: 3
目前的元素有一個通知,表示動作已中止。
NotificationKind_Other
值: 4
目前元素的通知不是新增、移除、已完成或中止的動作。

規格需求

需求
最低支援的用戶端 Windows 10 1709 版 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2016 [僅限傳統型應用程式]
標頭 uiautomationcore.h (包含 UIAutomation.h、Uiautomationcore.h)