Home / Visual Basic Tutorial / Procedure / Property Procedures

Property Procedures

Property procedures are the procedures that return values and also assign values to the property of objects.
Visual Basic provides three kinds of property procedures, as described in the following table.
Procedure Procedure
Property Get Returns the value of a property.
Property Let ets the value of a property.
Property Set Sets the value of an object property.
Property procedures are defined in class modules.
Note that:
If you need to perform a task each time then you need to use a property procedure. Once it is defined, it executes automatically without needing an explicit call each time.