« AttributesByName (xmlitem) » : différence entre les versions

De Wiki1000
(Nouvelle page : <source lang='delphi'>property AttributesByName[const iName:string]:TxmlAttribute;</source> '''Lecture seule''' Cette propriété accède aux attributs par leur nom. {{info|Si l'a...)
 
 
(Aucune différence)

Dernière version du 19 août 2009 à 07:43

<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

}}