public void Clear() { if (_ReadOnly) throw new NotSupportedException(); OnClear(); _Hashtable.Clear(); OnClearComplete(); }
public void ReadOnly_Clear () { SettingsPropertyCollection col = new SettingsPropertyCollection (); SettingsProperty test_prop = new SettingsProperty ("test_prop"); col.Add (test_prop); col.SetReadOnly (); col.Clear (); }