Class HTMLCollection
Numele spaţiului: Aspose.Svg.Collections Adunare: Aspose.SVG.dll (25.5.0)
Aspose.Svg.Collections.HTMLCollection reprezinta o colectie generica a elementului de la Asposa.Dom.
[DOMObject]
[ComVisible(true)]
[DOMName("HTMLCollection")]
public abstract class HTMLCollection : DOMObject, INotifyPropertyChanged, IEnumerable<element>, IEnumerable
Inheritance
object ← DOMObject ← HTMLCollection
Implements
INotifyPropertyChanged
,
IEnumerable
Membrii moștenitori
DOMObject.GetPlatformType() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Colecția HTML()
protected HTMLCollection()
Properties
Length
Numărul de noduri din listă.
[DOMName("length")]
public abstract int Length { get; }
Valoarea proprietății
Această[int]
Dacă indexul este mai mare sau egală cu numărul de noduri din listă, acesta returnează zero.
[DOMName("item")]
public abstract Element this[int index] { get; }
Valoarea proprietății
Methods
(Strângere)
[DOMNullable]
[DOMName("namedItem")]
public Element (string name)
Parameters
name
string
Returns
GetEnumerator()
Obțineți enumeratorul.
public abstract IEnumerator<element> GetEnumerator()
Returns
IEnumerator < Element >
Un obiect System.Collections.IEnumerator care poate fi folosit pentru a itera prin colecție.
GetPlatformType()
Această metodă este utilizată pentru a obține obiectul ECMAScript System.Type.
public override Type GetPlatformType()
Returns
Obiectul ECMAScript este System.Type.