Close MethodOfficial Content
Saves the document and closes it.  

Syntax

&DataType.Close()

Type Returned:
Numeric

Note:
This method returns an error code, so it is possible to call it as a function (&Err = &DataType.Close()).

Scope

Extended Data Types: ExcelDocument, WordDocument, XmlWriter, XmlReader
Languages: .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

See Also

ExcelDocument Data Type
WordDocument Data Type
XmlWriter Data Type
XmlReader Data Type