Class HTMLCollection

Class HTMLCollection

نام ها : Aspose.Svg.Collections جمع آوری: Aspose.SVG.dll (25.5.0)

Aspose.Svg.Collections.HTMLCollection یک مجموعه ژنری از Asposa.Dom.Element را نشان می دهد.

[DOMObject]
[ComVisible(true)]
[DOMName("HTMLCollection")]
public abstract class HTMLCollection : DOMObject, INotifyPropertyChanged, IEnumerable<element>, IEnumerable

Inheritance

object DOMObject HTMLCollection

Implements

INotifyPropertyChanged , IEnumerable , IEnumerable

اعضای ارثی

DOMObject.GetPlatformType() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

HTMLمجموعه()

protected HTMLCollection()

Properties

Length

تعداد گره ها در لیست

[DOMName("length")]
public abstract int Length { get; }

ارزش املاک

int

این[int]

اگر شاخص بزرگتر یا برابر با تعداد گره ها در لیست باشد، آن را صفر باز می گرداند.

[DOMName("item")]
public abstract Element this[int index] { get; }

ارزش املاک

Element

Methods

   ​  (String)

[DOMNullable]
[DOMName("namedItem")]
public Element      (string name)

Parameters

name string

Returns

Element

GetEnumerator()

این لیست را دریافت کنید.

public abstract IEnumerator<element> GetEnumerator()

Returns

IEnumerator &lt؛ Element >

یک System.Collections.IEnumerator که می تواند برای iterate از طریق مجموعه استفاده می شود.

GetPlatformType()

این روش برای به دست آوردن ECMAScript object System.Type استفاده می شود.

public override Type GetPlatformType()

Returns

Type

کلمات کلیدی: ECMAScript object System.Type

همچنین ببینید

IEnumerable , IEnumerable , IDisposable

 فارسی