PyIPropertyDescription.CoerceToCanonicalValue

int = CoerceToCanonicalValue(Value)

Converts a variant value to the exact type expected by the property

Parameters

Value : PyPROPVARIANT

The property value to be converted

Comments

This method mutates the PyPROPVARIANT in place. It may be cleared on failure.

Return Value

Returns the HRESULT from the operation on success.