RC-WinTrans Object Model Help |
XLIFFFile.Save |
Saves the XLIFF file. Changes will be lost if the XLIFF file is not saved.
Syntax: |
Save() |
Example: | Dim File As XliffFile Dim FileNo As Long Dim GroupNo As Long Dim TUNo As Long Dim RetVal As Boolean Set File = Tools.XMLTool.CreateXLIFFFile("C:\test.xlf") FileNo = File.AddFileSection("en-us", "database.mdb", "database") GroupNo = File.AddGroup(FileNo) TUNo = File.AddTransUnit(GroupNo, "en-us", "Text", "") RetVal = File.AddProperty(TUNo, "resname", "", "IDS_TEXT") If (RetVal) Then File.Save End If |
Remarks: | The file name of the XLIFF file is set when the "CreateXLIFFFile" method of the "XMLTool" object is called. |
See also: