variant_set Assigns a new value for a variant object Description voidvariant_set objectvariant mixedvalue Converts value to a variant and assigns it to the variant object; no new variant object is created, and the old value of variant is freed/released.