SetReadOnly() публичный Метод

public SetReadOnly ( ) : void
Результат void
		public void RO_Add ()
		{
			CommaDelimitedStringCollection c = new CommaDelimitedStringCollection ();

			c.SetReadOnly ();
			c.Add ("hi");
		}
		public void RO_AddRange ()
		{
			CommaDelimitedStringCollection c = new CommaDelimitedStringCollection ();
			string[] foo = new string[2];

			foo[0] = "hi";
			foo[1] = "bye";

			c.SetReadOnly ();
			c.AddRange (foo);
		}
		public void RO_Insert ()
		{
			CommaDelimitedStringCollection c = new CommaDelimitedStringCollection ();

			c.Add ("hi");
			c.SetReadOnly ();
			c.Insert (0, "bye");
		}
		public void RO_Remove ()
		{
			CommaDelimitedStringCollection c = new CommaDelimitedStringCollection ();

			c.SetReadOnly ();
			c.Clear ();
		}