格式化将类型的值转化为字符串表示形式;分析则与格式化相反,它是从字符串表示形式创建数据类型。
Formatting converts the value of a type into a string representation; parsing, the inverse of formatting, creates a data type from a string representation.
如果格式化的值在格式字符串中出现“0”的位置有一个数字,则此数字被复制到结果字符串中。
If the value being formatted has a digit in the position where the '0' appears in the format string, then that digit is copied to the result string.
此方法采用某个枚举格式化字符串指定希望返回的值。
This method takes one of the enumeration formatting strings to specify the value that you want returned.
视值格式化程序的实现而定,可能可以将返回的字符串传回该值格式化程序,以重新创建该对象的实例。
Depending on the implementation of the value formatter, it might be possible to pass the returned string back into the value formatter to re-create an instance of the object.
视值格式化程序的实现而定,可能可以将返回的字符串传回该值格式化程序,以重新创建该对象的实例。
Depending on the implementation of the value formatter, it might be possible to pass the returned string back into the value formatter to re-create an instance of the object.
应用推荐