System.Tether.AppProfile.TTetheringAppProfile.NotifyProfileUpdates
Delphi
property NotifyProfileUpdates: Boolean read FNotifyProfileUpdates write FNotifyProfileUpdates;
C++
__property bool NotifyProfileUpdates = {read=FNotifyProfileUpdates, write=FNotifyProfileUpdates, nodefault};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | public | System.Tether.AppProfile.pas System.Tether.AppProfile.hpp |
System.Tether.AppProfile | TTetheringAppProfile |
説明
ローカルの Actions や Resources への変更により、更新通知が自動的に接続されているリモート プロファイルに送信されるべきか(True
)否か(False
)を示します。
NotifyProfileUpdates が True
であっても、一時的にそれをオフにしたい場合もあるでしょう。たとえば、ある行内の複数のローカル項目を変更しようとしており、すべて変更した後に NotifyProfileUpdate を呼び出して、すべての変更についての通知を一度で済ませたいなどです。
C++ の場合:
NotifyProfileUpdates = false;
// Make several changes to local items.
NotifyProfileUpdate();
NotifyProfileUpdates = true;
Delphi の場合:
NotifyProfileUpdates := False;
// Make several changes to local items.
NotifyProfileUpdate;
NotifyProfileUpdates := True;