4

配置文件中MyKey允许的最大长度是多少?MyValue

<configuration>
  <appSettings>
    <add key="MyKey" value="MyValue" />
  </appSettings>
</configuration>
4

1 回答 1

4

据了解,webconfig 文件中的键值对没有限制.....

如果您打算将对象添加到配置文件,请查看这篇文章将帮助您完成任务

如何在 web.config 中存储自定义对象?

于 2011-06-17T07:41:05.383 回答