System.Notification.TBaseNotificationCenter.CreateNotification

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function CreateNotification: TNotification; overload;
function CreateNotification(const AName, AAlertBody: string; const AFireDate: TDateTime): TNotification; overload;

C++

TNotification* __fastcall CreateNotification()/* overload */;
TNotification* __fastcall CreateNotification(const System::UnicodeString AName, const System::UnicodeString AAlertBody, const System::TDateTime AFireDate)/* overload */;

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.Notification.pas
System.Notification.hpp
System.Notification TBaseNotificationCenter


Description

Crée et renvoie une instance de TNotification.

Vous pouvez appeler cette méthode sans aucun paramètre. Les propriétés de la notification créée ont des valeurs par défaut. Sinon, vous pouvez transmettre les paramètres AName, AAlertBody et AFireDate pour spécifier les valeurs du nom, du message et de la date de déclenchement de la notification créée.

Voir aussi