Local scope but persistent variable

J

John

Hi

Is it possible to have a variable whose scope is limited to the class but
its value is persistent through the execution of the app?

Thanks

Regards
 
H

Herfried K. Wagner [MVP]

John said:
Is it possible to have a variable whose scope is limited to the class but
its value is persistent through the execution of the app?

Maybe a shared variable is what you are looking for:

\\\
Private Shared X As String
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top