In the example provider component, code examples for storing different data types in VARIANT data types so that they can be saved as properties of an object are in property.cpp. Supported routines are listed in the following table.

Routine Description
get_BSTR_Property/put_BSTR_Property For string properties.
get_LONG_Property/put_LONG_Property For long integer properties.
get_DATE_Property/put_DATE_Property For date format properties.
get_VARIANT_BOOL_Property/put_VARIANT_BOOL_Property For boolean properties.
get_VARIANT_Property/put_VARIANT_Property For VARIANT properties.