// Get the value of the property. DegreeDisplayFormats propertyValue = unitAndValuePreferences_var->degreeDisplayFormat();
// Set the value of the property, where value_var is a DegreeDisplayFormats. bool returnValue = unitAndValuePreferences_var->degreeDisplayFormat(value_var);