Class HTMLCollection

Class HTMLCollection

Nazwa przestrzeń: Aspose.Html.Collections Zestaw: Aspose.HTML.dll (25.4.0)

Aspose.Html.Collections.HTMLCollection to ogólna kolekcja Aspose.Html.Dom.Element.

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

Inheritance

object DOMObject HTMLCollection

Implements

INotifyPropertyChanged , IEnumerable , IEnumerable

Dziedziczeni członkowie

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

Constructors

Kolekcja HTML()

protected HTMLCollection()

Properties

Length

Liczba węzłów na liście.

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

Wartość nieruchomości

int

Tego[Int]

Jeśli indeks jest większy lub równy liczbie węzłów na liście, to zwraca się zero.

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

Wartość nieruchomości

Element

Methods

GetEnumerator()

Znajduje się numerator.

public abstract IEnumerator<element> GetEnumerator()

Returns

IEnumerator • < Element >

Obiekt System.Collections.IEnumerator, który może być używany do iteracji poprzez kolekcję.

GetPlatformType()

Metoda ta jest używana do odzyskania obiektu ECMAScript System.Type.

public override Type GetPlatformType()

Returns

Type

Obiekt ECMAScript System.Typ.

NamedItem(strumień)

Powrót elementu w zbiorze odpowiada określonej nazwie.

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

Parameters

name string

Imię elementu.

Returns

Element

elementy dopasowane

Zobacz również

IEnumerable , IEnumerable , IDisposable

 Polski