System.Tether.AppProfile.TTetheringAppProfile.NotifyProfileUpdates

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

property NotifyProfileUpdates: Boolean read FNotifyProfileUpdates write FNotifyProfileUpdates;

C++

__property bool NotifyProfileUpdates = {read=FNotifyProfileUpdates, write=FNotifyProfileUpdates, nodefault};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
property public
System.Tether.AppProfile.pas
System.Tether.AppProfile.hpp
System.Tether.AppProfile TTetheringAppProfile


Beschreibung

Gibt an, ob Aktualisierungen der lokalen Eigenschaften Actions und Resources den verbundenen Remote-Profilen automatisch Aktualisierungsmitteilungen senden sollen (True) oder nicht (False).

Auch wenn der Wert von NotifyProfileUpdates True ist, können Sie diese Eigenschaft vorübergehend deaktivieren, wenn Sie mehrere lokale Einträge ändern möchten, und NotifyProfileUpdate nach Ihren Änderungen aufrufen, damit nur eine Mitteilung über alle Änderungen erstellt wird:

In C++:

NotifyProfileUpdates = false;
// Make several changes to local items.
NotifyProfileUpdate();
NotifyProfileUpdates = true;

In Delphi:

NotifyProfileUpdates := False;
// Make several changes to local items.
NotifyProfileUpdate;
NotifyProfileUpdates := True;

Siehe auch