Xml.XMLDoc.TXMLNodeCollection.UpdateCollectionList

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

void __fastcall UpdateCollectionList(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 TXMLNodeCollection

Description

Updates the List property to reflect changes to the set of child nodes.

Applications can't call this protected method. This method is called automatically when the ChildNodes property changes so that the collection can update the List property to reflect the repeating elements in the current set of child nodes.

Operation indicates whether the change to ChildNodes is the addition of a new node (nlInsert) or the deletion of a child node (nlRemove).

Node is the interface for a child node that is added or removed.

IndexOrName is the index or tag name of the node that is added or removed.

BeforeOperation indicates whether this method is called before ChildNodes has changed or after the change has occurred.

See Also