ValueFormatAttributeWriteValueFormat 方法 |
序列化时 - Model的Value的格式化器
Serialization time - Value formatter for Model
命名空间:
CPF.Windows.Json
程序集:
CPF.Windows (在 CPF.Windows.dll 中) 版本:0.8.8.5
语法 public virtual string WriteValueFormat(
Object value,
Type type,
JsonSerializerHandler handler,
out bool isValueFormat
)
参数
- value
- 类型:SystemObject
需要被格式化的源元素数据,Source element data that needs to be formatted - type
- 类型:SystemType
值的类型,The type of the value - handler
- 类型:CPF.Windows.JsonJsonSerializerHandler
用于提供一些配置选项,Used to provide some configuration options - isValueFormat
- 类型:SystemBoolean
决定最终是否进行值格式化,Determines whether the value is ultimately formatted
返回值
类型:
String格式化后的结果,Formatted results
参见