Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Public Shared 1

Status
Not open for further replies.

khowell78737

Programmer
Nov 18, 2003
22
US
If I declare something "Public Shared" in a class, once initialized it holds the data until when? The class is destroyed?

Suppose I wanted to initalize a Public Shared variable in a MDI form. Would that variable be available until the MDI parent was closed (application exit?)

Thanks in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top