WriteFile Method

Write an Atom feed from the component.

Syntax

public fun writeFile(filename: String?)

Remarks

This method will write an Atom feed from the existing property values to Filename. The Atom feed will be pre-verified and if any missing required fields are encountered, the component throws an exception.

Example (Add an Item and Write)


AtomControl.Entries.Add(New AtomEntry())
AtomControl.Entries[0].Content = "New Item Description"
AtomControl.Entries[0].LinkHref = "http://itemurl"
AtomControl.WriteFile(filename)

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks 2020 Kotlin Edition - Version 20.0 [Build 7941]