Class HTMLCollection

Class HTMLCollection

Namespace: Aspose.Svg.Collections
Assembly: Aspose.SVG.dll (25.5.0)

The Aspose.Svg.Collections.HTMLCollection represents a generic collection of Aspose.Svg.Dom.Element.

[DOMObject]
[ComVisible(true)]
[DOMName("HTMLCollection")]
public abstract class HTMLCollection : DOMObject, INotifyPropertyChanged, IEnumerable<element>, IEnumerable

Inheritance

object DOMObject HTMLCollection

Implements

INotifyPropertyChanged , IEnumerable<element> , IEnumerable

Inherited Members

DOMObject.GetPlatformType() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

HTMLCollection()

protected HTMLCollection()

Properties

Length

The number of nodes in the list.

[DOMName("length")]
public abstract int Length { get; }

Property Value

int

this[int]

Returns the index-th item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.

[DOMName("item")]
public abstract Element this[int index] { get; }

Property Value

Element

Methods

   ​  (string)

[DOMNullable]
[DOMName("namedItem")]
public Element      (string name)

Parameters

name string

Returns

Element

GetEnumerator()

Gets the enumerator.

public abstract IEnumerator<element> GetEnumerator()

Returns

IEnumerator < Element &gt;

An System.Collections.IEnumerator object that can be used to iterate through the collection.

GetPlatformType()

This method is used to retrieve ECMAScript object System.Type.

public override Type GetPlatformType()

Returns

Type

The ECMAScript object System.Type.

See Also

IEnumerable <t>, IEnumerable <t>, IDisposable </t></t></element>

 English