Property Let
used to change the (or assign) the value of a class property.
This statement lets you define a procedure that assigns a value to a property.
If you want to have full control when a property is initialised you can define the property using a Property Let procedure.
Passing Parameters
It is possible to pass parameters although not best practice.
Department
The following line assigns a department by calling the Property Let procedure
Hours Per Week
Write Only Properties
These are not used very often but it is possible to create jus a write-only property
Just provide a property let procedure (no property set)
© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext