public void SetReadOnly() { if (_ReadOnly) return; _ReadOnly = true; }
public void ReadOnly_Clear () { SettingsPropertyCollection col = new SettingsPropertyCollection (); SettingsProperty test_prop = new SettingsProperty ("test_prop"); col.Add (test_prop); col.SetReadOnly (); col.Clear (); }