I have my code for my Alarm class below. My one method is called isEqual and is used to compare two alarm objects. I call it by saying object1.isEqual(object2).
What I want to know is, when I'm in the mehtod, how do I refer to the object that called it? In C++, "this" is used, but I'm not sure about VB. Thanks for your help.
"Pin me. Perl me."
Regards,
Chris
What I want to know is, when I'm in the mehtod, how do I refer to the object that called it? In C++, "this" is used, but I'm not sure about VB. Thanks for your help.
Code:
Public Day As String
Public Hour As String
Public Minute As String
Public isEnabled As Boolean
Public amPM As String
Public Function isEqual(alarmTwo As Alarm) As Boolean
End Function
"Pin me. Perl me."
Regards,
Chris