Class OptionCollection
Class OptionCollection
اسم الفضاء : Aspose.Html.Forms مجموعة: Aspose.HTML.dll (25.4.0)
العناصر الخيارية تمثل الرافعة التي ترتبط مع IHTMLOptionsCollection
[ComVisible(true)]
public class OptionCollection : IEnumerable<optionelement>, IEnumerable
Inheritance
Implements
الأعضاء الموروثين
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
Count
عدد الخيارات في القائمة.
public int Count { get; }
قيمة الممتلكات
هذا[إنت]
يحصل على Aspose.Html.Forms.OptionElement في المؤشر المحدد.
public OptionElement this[int index] { get; }
قيمة الممتلكات
Methods
Add()
إضافة خيار جديد.
public OptionElement Add()
Returns
العودة تم إنشاؤها OptionElement.
GetEnumerator()
إرجاع القائمة التي تكرر من خلال المجموعة.
public IEnumerator<optionelement> GetEnumerator()
Returns
IEnumerator <؛ OptionElement >
إرجاع قائمة العناصر الخيارية
Remove(OptionElement)
إزالة الخيار من القائمة.
public void Remove(OptionElement option)
Parameters
option
OptionElement
عنصر الخيار .