I have just created several Property Set
methods, and they didn't compile. When I changed them to Property Let
, everything was fine.
I have since studied the documentation to find the difference between Property Set
and Property Let
, but must admit to being none the wiser. Is there any difference, and if so could someone offer a pointer to a proper explanation of it?
Property Set
is for objects (e.g., class instances)
Property Let
is for "normal" datatypes (e.g., string, boolean, long, etc.)