如何创建新的设置类型 [英] How to create a new settings type
本文介绍了如何创建新的设置类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
我正在尝试创建新的设置类型.在代码(主程序)中,这不是问题.我会创建一个新的类,一切都会好的.但是我不知道如何使创建的类成为我的设置类型.我试图修改为app.config文件,但是没有用.
我的问候...
P.S.很抱歉可能出现语言错误,但我不太懂英语,我来自波兰:D
Hi everyone
I''m trying to create new type of settings. In code(main program) it wouldn''t be a problem. I''d create new class, and everything would be ok. But I have no idea how to make created class, my settings type. I attempted to modify to app.config file, but it didn''t work.
My regards...
P.S. Sory for possible language mistakes, but I don''t know english well, I''m from Poland :D
推荐答案
她是有关如何在C#中使用设置类 [应用程序设置 [ ^ ]
Her is a CP article about How To Use the Settings Class in C#[^] and a MSDN link Application Settings[^]
这篇关于如何创建新的设置类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文