A collection of display text values.
Inheritance
object
Implements
- IList<string>
- ICollection<string>
- IEnumerable<string>
- IEnumerable
Properties
Section titled "Properties"Count
Section titled "Count"Gets the number of display text values in the collection.
public int Count { get; } this[int]
Section titled "this[int]"Gets or sets the display text value at the specified index.
public string this[int index] { get; set; } Methods
Section titled "Methods"Add(string)
Section titled "Add(string)"Adds a display text value to the collection.
public void Add(string item) Parameters
- item:
string
Returns any
Clear()
Section titled "Clear()"Clears the collection.
public void Clear() Returns any
Contains(string)
Section titled "Contains(string)"Determines whether the specified value is in the collection.
public bool Contains(string item) Parameters
- item:
string
Returns any
IndexOf(string)
Section titled "IndexOf(string)"Gets the index of the specified display text value in the collection.
public int IndexOf(string item) Parameters
- item:
string
Returns any
Insert(int, string)
Section titled "Insert(int, string)"Inserts a display text value into the collection.
public void Insert(int index, string item) Parameters
- index:
int - item:
string
Returns any
Remove(string)
Section titled "Remove(string)"Removes a display text value from the collection.
public bool Remove(string item) Parameters
- item:
string
Returns any
RemoveAt(int)
Section titled "RemoveAt(int)"Removes the display text value at the specified index.
public void RemoveAt(int index) Parameters
- index:
int