ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Object Lifetime (https://www.excelbanter.com/excel-programming/394365-object-lifetime.html)

adewole

Object Lifetime
 
Hi there

If I have an object that's a member of a class, will the object be set to
nothing when life of the object ends or, must i do it explicitly?

Thanks
ade

Chip Pearson

Object Lifetime
 
The object will be destroyed when the containing class is destroyed.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"adewole" wrote in message
...
Hi there

If I have an object that's a member of a class, will the object be set to
nothing when life of the object ends or, must i do it explicitly?

Thanks
ade




All times are GMT +1. The time now is 10:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com