[]
Determines what gets passed back and formatted as a string into the cell on the sheet from the object in the data model.
public override string Format(object value)
Public Overrides Function Format(value As Object) As String
Type | Name | Description |
---|---|---|
object | value | Object in the data model from which to get formatting information |
Type | Description |
---|---|
string |
When deriving a cell type based on this type, override this
to change what gets passed back and formatted as a string
into the cell on the sheet from the object in the data model.
public override string Format(object value, string FormatString, IFormatProvider provider)
Public Overrides Function Format(value As Object, FormatString As String, provider As IFormatProvider) As String
Type | Name | Description |
---|---|---|
object | value | Object in the data model from which to get formatting information |
string | FormatString | Format string built by the parser |
IFormatProvider | provider | IFormatProvider built by parser |
Type | Description |
---|---|
string | String representation |
Type | Condition |
---|---|
ArgumentException | Value cannot be converted to a DateTime object. |