Class OptionCollection
Class OptionCollection
Nazwa przestrzeń: Aspose.Html.Forms Zestaw: Aspose.HTML.dll (25.4.0)
OptionElements reprezentuje wrapera, który jest powiązany z IHTMLOptionsCollection
[ComVisible(true)]
public class OptionCollection : IEnumerable<optionelement>, IEnumerable
Inheritance
Implements
Dziedziczeni członkowie
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
Count
Liczba opcji na liście.
public int Count { get; }
Wartość nieruchomości
Tego[Int]
Otrzymuje Aspose.Html.Forms.OptionElement w określonym indeksie.
public OptionElement this[int index] { get; }
Wartość nieruchomości
Methods
Add()
Dodaj nową opcję.
public OptionElement Add()
Returns
Powrót do opcji OptionElement.
GetEnumerator()
Powraca numerator, który iteruje przez kolekcję.
public IEnumerator<optionelement> GetEnumerator()
Returns
IEnumerator • < OptionElement >
Wróć do listy elementów opcji
Remove(OptionElement)
Usunąć opcję z listy.
public void Remove(OptionElement option)
Parameters
option
OptionElement
To element opcji.