The property returns False if the value is Null; otherwise, the property returns True.
property HasValue: Boolean;
The value can be set to Null by assigning the False value to HasValue. The True value can't be assigned to HasValue. HasValuecan be set to True only by assigning a particular value to the Value property.