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

Add() public method

public Add ( CodeAttributeArgument value ) : int
value CodeAttributeArgument
return int
        public int Add(CodeAttributeArgument value) {
            return List.Add(value);
        }
        

Usage Example

 public static CodeAttributeArgumentCollection Clone(this CodeAttributeArgumentCollection collection)
 {
     if (collection == null) return null;
     CodeAttributeArgumentCollection c = new CodeAttributeArgumentCollection();
     foreach (CodeAttributeArgument argument in collection)
         c.Add(argument.Clone());
     return c;
 }
All Usage Examples Of System.CodeDom.CodeAttributeArgumentCollection::Add