Class HTMLCollection
Nama dari : Aspose.Svg.Collections Asosiasi: Aspose.SVG.dll (25.5.0)
The Aspose.Svg.Collections.HTMLCollection mewakili koleksi generik dari Asposa.Dom.Element.
[DOMObject]
[ComVisible(true)]
[DOMName("HTMLCollection")]
public abstract class HTMLCollection : DOMObject, INotifyPropertyChanged, IEnumerable<element>, IEnumerable
Inheritance
object ← DOMObject ← HTMLCollection
Implements
INotifyPropertyChanged
,
IEnumerable
anggota yang diwarisi
DOMObject.GetPlatformType() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Koleksi HTML()
protected HTMLCollection()
Properties
Length
Jumlah nodus dalam daftar.
[DOMName("length")]
public abstract int Length { get; }
Nilai Properti
ini[int]
Jika indeks lebih besar atau setara dengan jumlah nod dalam daftar, ini mengembalikan nol.
[DOMName("item")]
public abstract Element this[int index] { get; }
Nilai Properti
Methods
(String)
[DOMNullable]
[DOMName("namedItem")]
public Element (string name)
Parameters
name
string
Returns
GetEnumerator()
Dapatkan Enumerator
public abstract IEnumerator<element> GetEnumerator()
Returns
IEnumerator dan lt; Element >
Sebuah System.Collections.IEnumerator objek yang dapat digunakan untuk iterasi melalui koleksi.
GetPlatformType()
Metode ini digunakan untuk mendapatkan objek ECMAScript System.Type.
public override Type GetPlatformType()
Returns
Objek ECMAScript System.Type.