A collection of display text values.

Inheritance

Implements
  • IList<string>
  • ICollection<string>
  • IEnumerable<string>
  • IEnumerable

Gets the number of display text values in the collection.

public int Count { get; }

Gets or sets the display text value at the specified index.

public string this[int index] { get; set; }

Adds a display text value to the collection.

public void Add(string item)

Parameters

  • item: string

Returns any

Clears the collection.

public void Clear()

Returns any

Determines whether the specified value is in the collection.

public bool Contains(string item)

Parameters

  • item: string

Returns any

Gets the index of the specified display text value in the collection.

public int IndexOf(string item)

Parameters

  • item: string

Returns any

Inserts a display text value into the collection.

public void Insert(int index, string item)

Parameters

  • index: int
  • item: string

Returns any

Removes a display text value from the collection.

public bool Remove(string item)

Parameters

  • item: string

Returns any

Removes the display text value at the specified index.

public void RemoveAt(int index)

Parameters

  • index: int

Returns any