Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
If you want to convert a .NET type to a string, use the ToString method. The ToString method returns a string representation of the type passed in. The following table lists the .NET types that return a string in a format that maps to the XML Schema (XSD) specifications.
.NET type | String type returned |
---|---|
Boolean | "true", "false" |
Single.PositiveInfinity | "INF" |
Single.NegativeInfinity | "-INF" |
Double.PositiveInfinity | "INF" |
Double.NegativeInfinity | "-INF" |
DateTime | Format is yyyy-MM-ddTHH:mm:sszzzzzz and its subsets. |
Timespan | Format is PnYnMnTnHnMnS, for example, P2Y10M15DT10H30M20S is a duration of 2 years, 10 months, 15 days, 10hours, 30 minutes and 20 seconds. |
See also
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem lại các vấn đề và yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn dành cho người đóng góp của chúng tôi.