Class HTMLCollection
Le nom : Aspose.Svg.Collections Assemblée: Aspose.SVG.dll (25.5.0)
L’Aspose.Svg.Collections.HTMLCollection représente une collection générique d’Aspouse.Dom.Element.
[DOMObject]
[ComVisible(true)]
[DOMName("HTMLCollection")]
public abstract class HTMLCollection : DOMObject, INotifyPropertyChanged, IEnumerable<element>, IEnumerable
Inheritance
object ← DOMObject ← HTMLCollection
Implements
INotifyPropertyChanged
,
IEnumerable
I membri ereditari
DOMObject.GetPlatformType() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
HtmlCollections()
protected HTMLCollection()
Properties
Length
Il numero di nodi nella lista.
[DOMName("length")]
public abstract int Length { get; }
Valore di proprietà
Ceci[int]
Se l’indice è più grande o uguale al numero di nodi nella lista, questo ritorna zero.
[DOMName("item")]
public abstract Element this[int index] { get; }
Valore di proprietà
Methods
(Le string)
[DOMNullable]
[DOMName("namedItem")]
public Element (string name)
Parameters
name
string
Returns
GetEnumerator()
Riceva l’enumeratore
public abstract IEnumerator<element> GetEnumerator()
Returns
IEnumerator di < Element >
Un oggetto System.Collections.IEnumerator che può essere utilizzato per iterare attraverso la raccolta.
GetPlatformType()
Questo metodo viene utilizzato per recuperare l’oggetto ECMAScript System.Type.
public override Type GetPlatformType()
Returns
L’oggetto ECMAScript System.Type.