AccessibleObject.RaiseAutomationNotification Metoda

Definice

Vyvolá událost oznámení o automatizaci uživatelského rozhraní.

public:
 bool RaiseAutomationNotification(System::Windows::Forms::Automation::AutomationNotificationKind notificationKind, System::Windows::Forms::Automation::AutomationNotificationProcessing notificationProcessing, System::String ^ notificationText);
public bool RaiseAutomationNotification (System.Windows.Forms.Automation.AutomationNotificationKind notificationKind, System.Windows.Forms.Automation.AutomationNotificationProcessing notificationProcessing, string notificationText);
public bool RaiseAutomationNotification (System.Windows.Forms.Automation.AutomationNotificationKind notificationKind, System.Windows.Forms.Automation.AutomationNotificationProcessing notificationProcessing, string? notificationText);
member this.RaiseAutomationNotification : System.Windows.Forms.Automation.AutomationNotificationKind * System.Windows.Forms.Automation.AutomationNotificationProcessing * string -> bool
Public Function RaiseAutomationNotification (notificationKind As AutomationNotificationKind, notificationProcessing As AutomationNotificationProcessing, notificationText As String) As Boolean

Parametry

notificationKind
AutomationNotificationKind

Typ oznámení.

notificationProcessing
AutomationNotificationProcessing

Indikátor zpracování oznámení.

notificationText
String

Text oznámení

Návraty

true pokud je operace úspěšná; false pokud základní infrastruktura Windows není k dispozici nebo operace selhala. Podrobnosti získáte voláním GetLastWin32Error() .

Poznámky

Tato událost je dostupná od Windows 10 verze 1709.

Platí pro