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

Add() public method

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

Usage Example

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