Click or drag to resize

StringList Constructor

Overload List
  NameDescription
Public methodStringList
Default constructor.
Public methodStringList(ArrayList)
Construct from an ArrayList. An ArrayList contains a list of objects. These objects are assumed to be strings, but for safety are converted to strings using ToString(Object) when added to the list.
Public methodStringList(StringCollection)
Construct from a StringCollection. One advantage of constructing a StringList from a StringCollection is that a StringList is ordered and can be sorted.
Public methodStringList(String)
Construct from string array.
Public methodStringList(String, Char, SplitOptions)
Contruct the set from a separator-separated list of items. For example, adding "a;b;c" with ';' separator adds 3 items, "a", "b", "c". Note that opts can be used to trim and/or include blank and null items.
Top
See Also