System.CodeDom.CodeAttributeArgumentCollection.Add C# (CSharp) Méthode

Add() public méthode

public Add ( CodeAttributeArgument value ) : int
value CodeAttributeArgument
Résultat 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