AttributesByName (xmlitem)

De Wiki1000
property AttributesByName[const iName:string]:TxmlAttribute;

Lecture seule

Cette propriété accède aux attributs par leur nom.

Info-20px.png Note : Si l'attribut n'existe pas la propriété retourne nil.

Exemple:

procedure foo(elt:TxmlItem);
begin
  elt.AttributesByName['color'].Value := 'red';
end;

Voir aussi:

Eléments XML (tech)Développement DSM





Whos here now:   Members 0   Guests 0   Bots & Crawlers 1
 
Outils personnels