FileName (xmldoc)

De Wiki1000

<source lang='delphi'>property FileName:string;</source>

Lecture écriture

Cette propriété retourne le nom du fichier qui a été utilisé pour chargé le document avec la fonction LoadFromFile.

Exemple: <source lang='delphi'> procedure foo(doc:TxmlDocument); begin

 if doc.HashValue<>SavedHashValue then
  begin
    // document has been changed
    doc.SaveToFile(doc.FileName);
  end;

end; </source>

Voir aussi:

{{#if:Documents XML (tech)|

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

|

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

}}