Sets the float property value into a stream.
If the property is not a float, the method will throw an InvalidOperationException.
InvalidOperationException