Code to run on change of a property
I have a number of properties that hold configuration style information. I want to "refresh" a connection if any of these properties are changed. Do I have to add a call to my refresh code in each of the "Public Property Let" sections or is there someway to use the "PropertyChanged" method?
Code:
Public Property Let WriteQuePassword(ByVal New_WriteQuePassword As String)
m_WriteQuePassword = New_WriteQuePassword
PropertyChanged "WriteQuePassword"
'DO I DO THIS? -> Call MQSeriesRefresh
End Property