[]
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 obj)
Public Overrides Function Format(obj As Object) As String
Type | Name | Description |
---|---|---|
object | obj | 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 obj, string FormatString, IFormatProvider provider)
Public Overrides Function Format(obj As Object, FormatString As String, provider As IFormatProvider) As String
Type | Name | Description |
---|---|---|
object | obj | 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. |