AddCommaSeparated() public method

Adds all items in the given comma separated list to this instance.
public AddCommaSeparated ( string commaSeparatedList ) : void
commaSeparatedList string the items to add
return void
コード例 #1
0
        }         // AddCommaSeparated

        // ----------------------------------------------------------------------
        public static StringCollection FromCommaSeparated(string commaSeparatedList)
        {
            StringCollection fromCommaSeparated = new StringCollection();

            fromCommaSeparated.AddCommaSeparated(commaSeparatedList);
            return(fromCommaSeparated);
        }         // FromCommaSeparated
 // ----------------------------------------------------------------------
 public static StringCollection FromCommaSeparated( string commaSeparatedList )
 {
     StringCollection fromCommaSeparated = new StringCollection();
     fromCommaSeparated.AddCommaSeparated( commaSeparatedList );
     return fromCommaSeparated;
 }