System.Notification.TCustomNotificationCenter.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 TCustomNotificationCenter


Description

Crée et renvoie une instance de TNotification.

Vous pouvez appeler cette méthode sans les moindres paramètres, auquel cas les propriétés de la notification créée sont définies sur les valeurs par défaut. Sinon, vous pouvez transmettre AName, AAlertBody et AFireDate afin de spécifier les valeurs name, message et fire date de la notification créée.

Voir aussi