Hi All,
I'm a little confused about the use of declaring Public vs Public Shared in a class. I want each user to have their own instance of that variable. But what does Public Shared do? If it is set by one user, then all other users will see that updated value?
-------------------------------------------
Public Class CUAuctionLocalClass
Public Shared ADMINID As String
Public Shared EMPLID As String
...
ADMINID="TEST"
End Class
So does this mean all instances will see ADMINID as TEST?
I'm a little confused about the use of declaring Public vs Public Shared in a class. I want each user to have their own instance of that variable. But what does Public Shared do? If it is set by one user, then all other users will see that updated value?
-------------------------------------------
Public Class CUAuctionLocalClass
Public Shared ADMINID As String
Public Shared EMPLID As String
...
ADMINID="TEST"
End Class
So does this mean all instances will see ADMINID as TEST?