System.CodeDom.CodeAttributeArgumentCollection.Insert C# (CSharp) Method

Insert() public method

public Insert ( int index, CodeAttributeArgument value ) : void
index int
value CodeAttributeArgument
return void
        public void Insert(int index, CodeAttributeArgument value) {
            List.Insert(index, value);
        }
        

Usage Example

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