Class HTMLCollection
Nom dels espais: Aspose.Svg.Collections Assemblea: Aspose.SVG.dll (25.5.0)
L’Aspose.Svg.Collections.HTMLCollection representa una col·lecció genèrica de l’Asposa.Dom.Elements.
[DOMObject]
[ComVisible(true)]
[DOMName("HTMLCollection")]
public abstract class HTMLCollection : DOMObject, INotifyPropertyChanged, IEnumerable<element>, IEnumerable
Inheritance
object ← DOMObject ← HTMLCollection
Implements
INotifyPropertyChanged
,
IEnumerable
Membres heretats
DOMObject.GetPlatformType() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Col·lecció HTML()
protected HTMLCollection()
Properties
Length
El nombre de nodes a la llista.
[DOMName("length")]
public abstract int Length { get; }
Valor de la propietat
Aquest[Int]
Si l’índex és més gran o igual al nombre de nodes en la llista, això torna zero.
[DOMName("item")]
public abstract Element this[int index] { get; }
Valor de la propietat
Methods
(Tàrrega)
[DOMNullable]
[DOMName("namedItem")]
public Element (string name)
Parameters
name
string
Returns
GetEnumerator()
Obtenir l’enumerat.
public abstract IEnumerator<element> GetEnumerator()
Returns
IEnumerator < Element >
Un objecte System.Collections.IEnumerator que es pot utilitzar per iterar a través de la col·lecció.
GetPlatformType()
Aquest mètode s’utilitza per recuperar l’objecte ECMAScript System.Type.
public override Type GetPlatformType()
Returns
L’objecte ECMAScript és System.Type.