Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3045
How do you unload/close a Workbook?
posted

I'm using the Infragistics.Workbook.Load to get an instance of the workbook. When I'm done using the Workbook, how can I close/unload it to release the resources it is using?

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    The Workbook class doesn't have a Dispose method, so that usually means it's not creating any system resources that need to be cleaned up. So you probably don't have to do anything except remove any references to it.

    In other words, just set your Workbook variable to null so that no one is referencing it and that should do it.

Children
No Data