System.Notification.TCustomNotificationCenter.CreateNotification
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 */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Notification.pas System.Notification.hpp |
System.Notification | TCustomNotificationCenter |
説明
TNotification のインスタンスを作成および返します。
このメソッドをパラメータなしで呼び出すと、作成された通知のプロパティにはデフォルト値が設定されます。そうでなければ、AName
、AAlertBody
、AFireDate
を渡して、作成される通知の 名前、メッセージ、実行日 に対して値を指定します。
関連項目
- 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