AccessibleObject.RaiseAutomationNotification Metodo

Definizione

Genera l'evento di notifica di automazione dell'interfaccia utente.

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

Parametri

notificationKind
AutomationNotificationKind

Il tipo di notifica.

notificationProcessing
AutomationNotificationProcessing

Un indicatore della modalità di elaborazione delle notifiche.

notificationText
String

Il testo della notifica.

Restituisce

true se l'operazione ha esito positivo, false se l'infrastruttura Windows sottostante non è disponibile o l'operazione non è andata a buon fine. Per informazioni dettagliate, chiamare GetLastWin32Error().

Commenti

Questo evento è disponibile a partire da Windows 10 versione 1709.

Si applica a