TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Amin Memar
1.6k
180
29.2k
create Properties.Setting at runtime
Apr 2 2020 5:41 PM
hi
i want to create dynamically new Property.Settings at runtime i tried this code but not worked t
also no changes in setting (i am using wpf).can anyone help pls?
var property =
new
System.Configuration.SettingsProperty(
"propertyName"
);
property.PropertyType =
typeof
(
bool
);
property.DefaultValue =
true
;
Properties.Settings.Default.Properties.Add(property);
Properties.Settings.Default.Save();
Reply
Answers (
3
)
Asp.net Session timeout
c# developement