Represents a value in a property store. You can't implement this interface, see Remarks.
public : interface IPropertyValue
public interface IPropertyValue
Public Interface IPropertyValue
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.FoundationContract (introduced v1)
The IPropertyValue interface is a store for values whose type is not known until runtime.
To obtain the value stored in an IPropertyValue object, when the type of the stored property is not known ahead of time, you should first determine the stored type from the Type property and then call the appropriate IPropertyValue method for the type.
If the type is known ahead of time, you can the type access method of IPropertyValue interface directory and check for the return value to verify type returned was what is expected. If the type returned does not match the value of the Type property then the method fails with the TYPE_E_TYPEMISMATCH error.
You can't implement the IPropertyValue interface or include it in a signature. IPropertyValue is mainly an internal implementation detail of how the Windows Runtime implements boxing and nullable values.
|IsNumericScalar IsNumericScalar IsNumericScalar IsNumericScalar IsNumericScalar||
Gets a value that indicates whether the property value is a scalar value.
|Type Type Type Type Type||
Returns the type stored in the property value.