Unbind method

Official Content
This documentation is valid for:
Leaves a document open, after ending the application. 



Type Returned:


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


This method is useful to keep a document open after you have lost reach of the object, even after the application is finished. 
When releasing a document, the reference between the object and the open document is totally lost. Operations on the object no longer affect the document. In fact, the object behaves as if it didn't have an open document, until the Open method is called again. 

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

See Also

Open Method
ExcelDocument Data Type
WordDocument Data Type