System.Notification.TBaseNotificationCenter.CreateNotification

提供: RAD Studio API Documentation
移動先: 案内検索

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 TBaseNotificationCenter


説明

TNotification のインスタンスを作成して返します。

このメソッドをパラメータを指定せずに呼び出すと、作成された通知のプロパティはデフォルト値になります。そうではなく、ANameAAlertBodyAFireDate を渡して、作成される通知の名前メッセージ通知日の値を指定することもできます。

関連項目