Xml.XMLDoc.TXMLNode.AttributeListNotify

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AttributeListNotify(Operation: TNodeListOperation;
var Node: IXMLNode; const IndexOrName: OleVariant; BeforeOperation: Boolean);

C++

void __fastcall AttributeListNotify(TNodeListOperation Operation, Xml::Xmlintf::_di_IXMLNode &Node, const System::OleVariant &IndexOrName, bool BeforeOperation);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc TXMLNode

Description

Responds to notifications of changes in the list of attributes.

Applications can't call this protected method. The class that implements the AttributeNodes property calls AttributeListNotify when attribute nodes are inserted or removed, or when a new attribute node needs to be created. AttributeListNotify generates a BeforeNodeChange or AfterNodeChange event on the document object, and, if the change has not yet occurred, updates the underlying DOM implementation to reflect the change.

Operation indicates what type of change occurred.

Node is the interface for the attribute node that was added or removed. If a new attribute node needs to be created, Node returns the new node.

IndexOrName is the name of the attribute when Operation is nlCreateNode.

BeforeOperation indicates whether the call occurs before the attribute node is added or removed.

See Also