System.Notification.TCustomNotificationCenter.CreateNotification
Delphi
function CreateNotification: TNotification; overload;
function CreateNotification(const AName, AAlertBody: string; const AFireDate: TDateTime): TNotification; overload;
C++
TNotification* __fastcall CreateNotification(void)/* overload */;
TNotification* __fastcall CreateNotification(const System::UnicodeString AName, const System::UnicodeString AAlertBody, const System::TDateTime AFireDate)/* overload */;
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | System.Notification.pas System.Notification.hpp |
System.Notification | TCustomNotificationCenter |
Beschreibung
Erstellt eine Instanz von TNotification und gibt diese zurück.
Sie können diese Methode ohne Parameter aufrufen; die Eigenschaften der erstellten Benachrichtigung haben dann Standardwerte. Andernfalls können Sie AName
, AAlertBody
und AFireDate
übergeben, um die Werte für Name, Nachricht und Auslösungszeitpunkt der erstellten Benachrichtigung festzulegen.
Siehe auch
- System.Notification.TNotification
- System.Notification.TNotification.Name
- System.Notification.TNotification.AlertBody
- System.Notification.TNotification.FireDate
- System.Notification.TCustomNotificationCenter.CancelAll
- System.Notification.TCustomNotificationCenter.CancelNotification
- System.Notification.TCustomNotificationCenter.Create
- System.Notification.TCustomNotificationCenter.PresentNotification
- System.Notification.TCustomNotificationCenter.ScheduleNotification