15 public string this[
int index]
19 return (
string)data[index];
55 public bool IsReadOnly =>
false;
71 object IList.this[
int index]
79 this[index] = (string)value;
86 public int Add(
string value)
88 return data.Add(value);
101 data.AddRange(value);
116 return data.Contains(value);
129 public void CopyTo(
string[] array,
int index)
131 data.CopyTo(array, index);
146 return data.IndexOf(value);
155 public void Insert(
int index,
string value)
157 data.Insert(index, value);
174 data.RemoveAt(index);
183 return Add((
string)value);
198 int IList.IndexOf(
object value)
210 void IList.Insert(
int index,
object value)
212 Insert(index, (
string)value);
218 void IList.Remove(
object value)
233 void ICollection.CopyTo(Array array,
int index)
235 data.CopyTo(array, index);
240 IEnumerator IEnumerable.GetEnumerator()
242 return data.GetEnumerator();
int Add(string value)
Adds a string to the end of the T:System.Collections.Specialized.StringCollection.
void Remove(string value)
Removes the first occurrence of a specific string from the T:System.Collections.Specialized....
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method th...
Represents a non-generic collection of objects that can be individually accessed by index.
bool IsReadOnly
Gets a value indicating whether the T:System.Collections.IList is read-only.
Supports a simple iteration over a T:System.Collections.Specialized.StringCollection.
void RemoveAt(int index)
Removes the string at the specified index of the T:System.Collections.Specialized....
void Clear()
Removes all the strings from the T:System.Collections.Specialized.StringCollection.
bool IsSynchronized
Gets a value indicating whether access to the T:System.Collections.Specialized.StringCollection is sy...
bool IsFixedSize
Gets a value indicating whether the T:System.Collections.IList has a fixed size.
Represents a collection of strings.
Exposes an enumerator, which supports a simple iteration over a non-generic collection....
void AddRange(string[] value)
Copies the elements of a string array to the end of the T:System.Collections.Specialized....
StringEnumerator GetEnumerator()
Returns a T:System.Collections.Specialized.StringEnumerator that iterates through the T:System....
void Insert(int index, string value)
Inserts a string into the T:System.Collections.Specialized.StringCollection at the specified index.
int Add(object value)
Adds an item to the T:System.Collections.IList.
int IndexOf(string value)
Searches for the specified string and returns the zero-based index of the first occurrence within the...
void CopyTo(string[] array, int index)
Copies the entire T:System.Collections.Specialized.StringCollection values to a one-dimensional array...
int Count
Gets the number of strings contained in the T:System.Collections.Specialized.StringCollection.
object SyncRoot
Gets an object that can be used to synchronize access to the T:System.Collections....
Specifies that the class can be serialized.
bool Contains(object value)
Determines whether the T:System.Collections.IList contains a specific value.
Defines size, enumerators, and synchronization methods for all nongeneric collections.
bool Contains(string value)
Determines whether the specified string is in the T:System.Collections.Specialized....
Implements the T:System.Collections.IList interface using an array whose size is dynamically increase...