System.CodeDom.CodeCommentStatementCollection.Remove C# (CSharp) Method

Remove() public method

public Remove ( CodeCommentStatement value ) : void
value CodeCommentStatement
return void
        public void Remove(CodeCommentStatement value) {
            List.Remove(value);
        }
    }

Usage Example

		public void Constructor0_Deny_Unrestricted ()
		{
			CodeCommentStatementCollection coll = new CodeCommentStatementCollection ();
			Assert.AreEqual (0, coll.Add (ccs), "Add");
			Assert.AreSame (ccs, coll[0], "this[int]");
			coll.CopyTo (array, 0);
			coll.AddRange (array);
			coll.AddRange (coll);
			Assert.IsTrue (coll.Contains (ccs), "Contains");
			Assert.AreEqual (0, coll.IndexOf (ccs), "IndexOf");
			coll.Insert (0, ccs);
			coll.Remove (ccs);
		}
All Usage Examples Of System.CodeDom.CodeCommentStatementCollection::Remove