|NotSupportedException||Value is not supported.|
Exception is thrown if value for the set is not of supported type (See ExcelFile.SupportsType for details).
Note that the fact some type is supported doesn't mean it is written to Excel file in the native format. As Microsoft Excel has just few basic types, the object of supported type will be converted to a similar excel type. If similar excel type doesn't exist, value is written as a string value.