Class OptionCollection

Class OptionCollection

اسم الفضاء : Aspose.Html.Forms مجموعة: Aspose.HTML.dll (25.4.0)

العناصر الخيارية تمثل الرافعة التي ترتبط مع IHTMLOptionsCollection

[ComVisible(true)]
public class OptionCollection : IEnumerable<optionelement>, IEnumerable

Inheritance

object OptionCollection

Implements

IEnumerable , IEnumerable

الأعضاء الموروثين

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; }

قيمة الممتلكات

int

هذا[إنت]

يحصل على Aspose.Html.Forms.OptionElement في المؤشر المحدد.

public OptionElement this[int index] { get; }

قيمة الممتلكات

OptionElement

Methods

Add()

إضافة خيار جديد.

public OptionElement Add()

Returns

OptionElement

العودة تم إنشاؤها OptionElement.

GetEnumerator()

إرجاع القائمة التي تكرر من خلال المجموعة.

public IEnumerator<optionelement> GetEnumerator()

Returns

IEnumerator &lt؛ OptionElement >

إرجاع قائمة العناصر الخيارية

Remove(OptionElement)

إزالة الخيار من القائمة.

public void Remove(OptionElement option)

Parameters

option OptionElement

عنصر الخيار .

 عربي