Class HTMLCollection
Namn på plats: Aspose.Svg.Collections Församling: Aspose.SVG.dll (25.5.0)
Aspose.Svg.Collections.HTMLCollection representerar en generisk samling av Aspos.Dom.Element.
[DOMObject]
[ComVisible(true)]
[DOMName("HTMLCollection")]
public abstract class HTMLCollection : DOMObject, INotifyPropertyChanged, IEnumerable<element>, IEnumerable
Inheritance
object ← DOMObject ← HTMLCollection
Implements
INotifyPropertyChanged
,
IEnumerable
Arvsmedlemmar
DOMObject.GetPlatformType() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
HTMLKollektion()
protected HTMLCollection()
Properties
Length
Antalet noder i listan.
[DOMName("length")]
public abstract int Length { get; }
Fastighetsvärde
Detta[int]
Om indexet är större än eller lika med antalet noder i listan returnerar det noll.
[DOMName("item")]
public abstract Element this[int index] { get; }
Fastighetsvärde
Methods
(Sträng)
[DOMNullable]
[DOMName("namedItem")]
public Element (string name)
Parameters
name
string
Returns
GetEnumerator()
Ta emot enumerator.
public abstract IEnumerator<element> GetEnumerator()
Returns
IEnumerator ochlt; Element >
Ett System.Collections.IEnumerator objekt som kan användas för att itera genom samlingen.
GetPlatformType()
Denna metod används för att hämta ECMAScript objekt System.Type.
public override Type GetPlatformType()
Returns
Den ECMAScript objekt System.Type.