Xml.XMLDoc.TXMLNode.DoNodeChange
Delphi
procedure DoNodeChange(ChangeType: TNodeChange; BeforeOperation: Boolean); virtual;
C++
virtual void __fastcall DoNodeChange(TNodeChange ChangeType, bool BeforeOperation);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Xml.XMLDoc.pas Xml.XMLDoc.hpp |
Xml.XMLDoc | TXMLNode |
Description
Generates a BeforeNodeChange or AfterNodeChange event on this node's document.
Applications can't call the protected DoNodeChange method. It is called internally before and after every change that is made to the node. DoNodeChange checks whether the node's OwnerDocument property is set, and if so, generates a BeforeNodeChange or AfterNodeChange event on that document, as appropriate.
ChangeType indicates the type of change that is occurring to the node.
BeforeOperation is true if the change is about to occur, false if the change has just occurred.