Class HTMLCollection

Class HTMLCollection

이름 공간 : Aspose.Html.Collections 구성: Aspose.HTML.dll (25.4.0)

Aspose.Html.Collections.HTMLCollection은 Aspose.Html.Dom.Element의 일반적인 컬렉션을 나타냅니다.

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

Inheritance

object DOMObject HTMLCollection

Implements

INotifyPropertyChanged , IEnumerable , IEnumerable

상속 회원들

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

Constructors

HTML 컬렉션()

protected HTMLCollection()

Properties

Length

목록에있는 노드의 수.

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

부동산 가치

int

이것이[이트]

컬렉션의 인덱스 항목을 반환합니다. 인덱스가 목록의 노드 수보다 크거나 동일한 경우, 이것은 null로 반환됩니다.

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

부동산 가치

Element

Methods

GetEnumerator()

번호를 얻을 수 있습니다.

public abstract IEnumerator<element> GetEnumerator()

Returns

IEnumerator &lt에 대한 정보 Element >

System.Collections.IEnumerator 개체는 컬렉션을 통해 iterate하는 데 사용될 수 있습니다.

GetPlatformType()

이 방법은 ECMAScript Object System.Type를 복구하는 데 사용됩니다.

public override Type GetPlatformType()

Returns

Type

ECMAScript 개체 System.Type.

NamedItem(스트리트)

컬렉션에서 지정된 이름과 일치하는 항목을 반환합니다.

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

Parameters

name string

요소의 이름

Returns

Element

일치하는 요소

또한 보기

IEnumerable , IEnumerable , IDisposable

 한국어