Class HTMLCollection

Class HTMLCollection

Nome do espaço: Aspose.Svg.Collections Assembleia: Aspose.SVG.dll (25.5.0)

O Aspose.Svg.Collections.HTMLCollection representa uma coleção genérica de 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

Membros herdados

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

Constructors

HTMLColecção()

protected HTMLCollection()

Properties

Length

Número de nodos na lista.

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

Valor da propriedade

int

Esta[Int]

Se o índice for maior ou igual ao número de nódulos na lista, ele retorna zero.

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

Valor da propriedade

Element

Methods

   ​  (Redação)

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

Parameters

name string

Returns

Element

GetEnumerator()

Obtenha o enumerador.

public abstract IEnumerator<element> GetEnumerator()

Returns

IEnumerator e o PT; Element >

Um objeto System.Collections.IEnumerator que pode ser usado para iterar através da coleção.

GetPlatformType()

Este método é usado para recuperar o objeto ECMAScript System.Type.

public override Type GetPlatformType()

Returns

Type

O objeto ECMAScript System.Type.

Veja também

IEnumerable , IEnumerable , IDisposable

 Português