阅读背景:

解析XML布尔属性的最好方法是什么(在。net中)?

来源:互联网 

An XML attribute declared as xs:boolean can acceptable be "true", "false", "0" or "1". However, in .NET, Boolean.Parse() will only accept "true" or "false". If it sees a "0" or "1", it throws a "Bad Format" exception.An XML attribute declared as xs:boolean can acc




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: