开发者

Is there a limit on a user setting size in .NET application?

开发者 https://www.devze.com 2023-01-15 03:33 出处:网络
I would like to serialize my object with many values as string(xml) into user settings. Is there a limit on how large a \"string\" user setting can be in a .NET application?

I would like to serialize my object with many values as string(xml) into user settings. Is there a limit on how large a "string" user setting can be in a .NET application?

I am extending ApplicationSettingsBase to save my开发者_StackOverflow中文版 settings.


There is no explicit limit imposed by the application settings code. The only limits are really those of the backing storage (typically the file system).

While that allows for a very large string to be used I would caution from going overboard here. Just because it's possible doesn't mean it should be done :)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号