AttributesByName (xmlitem)

De Wiki1000
(Redirigé depuis AtributesByName (xmlitem))

<source lang='delphi'>property AttributesByName[const iName:string]:TxmlAttribute;</source>

Lecture seule

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

Note : Si l'attribut n'existe pas la propriété retourne nil.

Exemple: <source lang='delphi'> procedure foo(elt:TxmlItem); begin

 elt.AttributesByName['color'].Value := 'red';

end; </source>

Voir aussi:

{{#if:Eléments XML (tech)|

{{#if:Eléments XML (tech)|— Eléments XML (tech) |}} — Développement DSM

|

{{#if:|— [[{{{1}}}]] |}} — Développement DSM

}}