這個範例說明如何更新及儲存的XML XmlDocument 類別。 ... 使用XmlDocument 類別的Save方法,將已修改的XML 儲存至新的檔名為InflatedPriceBooks.xml。
support.microsoft.com