ToStringRepresentation

MessageObjectProperty.ToStringRepresentation method

将属性的值转换为字符串。

public string ToStringRepresentation()

返回值

字符串值,如果类型不能转换为字符串则返回空字符串。

评论

此方法不提供数据类型的自动转换,例如,如果Value属性是类型的默认值将被返回。

也可以看看