FileName (xmldoc)

De Wiki1000
property FileName:string;

Lecture écriture

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

Exemple:

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

Voir aussi:

Documents XML (tech)Développement DSM





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