used to retrieve a property of a class.
This is exactly the same as just using a private variable.
Public Property Get Department() As String
Department = msDepartment
The following line gets the department by calling the property Get procedure
Public Property Get HoursPerWeek() As Double
HoursPerWeek = mdbNormalHours + mdbOvertimeHours
Returns a property object reference
Public Property Get SomeThing() As Object
Set SomeThing = m_objObject
© 2021 Better Solutions Limited. All Rights Reserved. © 2021 Better Solutions Limited TopPrevNext