TypeConversionSettings interface
類型轉換設定
屬性
| allow |
是否要在轉換數據時允許數據截斷。 類型:布爾值(或 expression 含 resultType 布爾值的表達式)。 |
| culture | 用來將數據從/轉換成字串的文化特性。 Type:string (或 expression with resultType string) 。 |
| date |
Date 值的格式。 Type:string (或 expression with resultType string) 。 |
| date |
DateTime 值的格式。 Type:string (或 expression with resultType string) 。 |
| date |
DateTimeOffset 值的格式。 Type:string (或 expression with resultType string) 。 |
| time |
Time 值的格式。 Type:string (或 expression with resultType string) 。 |
| time |
TimeSpan 值的格式。 Type:string (或 expression with resultType string) 。 |
| treat |
是否要將布爾值視為數位。 類型:布爾值(或 expression 含 resultType 布爾值的表達式)。 |
屬性詳細資料
allowDataTruncation
是否要在轉換數據時允許數據截斷。 類型:布爾值(或 expression 含 resultType 布爾值的表達式)。
allowDataTruncation?: any
屬性值
any
culture
用來將數據從/轉換成字串的文化特性。 Type:string (或 expression with resultType string) 。
culture?: any
屬性值
any
dateFormat
Date 值的格式。 Type:string (或 expression with resultType string) 。
dateFormat?: any
屬性值
any
dateTimeFormat
DateTime 值的格式。 Type:string (或 expression with resultType string) 。
dateTimeFormat?: any
屬性值
any
dateTimeOffsetFormat
DateTimeOffset 值的格式。 Type:string (或 expression with resultType string) 。
dateTimeOffsetFormat?: any
屬性值
any
timeFormat
Time 值的格式。 Type:string (或 expression with resultType string) 。
timeFormat?: any
屬性值
any
timeSpanFormat
TimeSpan 值的格式。 Type:string (或 expression with resultType string) 。
timeSpanFormat?: any
屬性值
any
treatBooleanAsNumber
是否要將布爾值視為數位。 類型:布爾值(或 expression 含 resultType 布爾值的表達式)。
treatBooleanAsNumber?: any
屬性值
any