Xml.XMLDoc.TXMLNode.AttributeListNotify

De RAD Studio API Documentation
Aller à : navigation, rechercher

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);

Propriétés

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

Description

Répond aux notifications de modifications de la liste d'attributs.

Les applications ne peuvent pas appeler cette méthode protégée. La classe qui implémente la propriété AttributeNodes appelle AttributeListNotify lorsqu'un noeud d'attribut est inséré, supprimé ou doit être créé. AttributeListNotify génère un événement BeforeNodeChange ou AfterNodeChange sur l'objet document puis, si la modification n'est toujours pas intervenue, met à jour l'implémentation DOM sous-jacente pour refléter la modification.

Operation indique le type de modification qui est intervenue.

Node est l'interface du noeud d'attribut ajouté ou supprimé. Si un noeud d'attribut doit être créé, Node renvoie le nouveau noeud.

IndexOrName est le nom de l'attribut lorsque Operation a pour valeur nlCreateNode.

BeforeOperation indique si l'appel se produit avant l'ajout ou la suppression du noeud d'attribut.

Voir aussi