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
相続人
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; }
不動産価値
この[インタ]
コレクションのインデックスの項目を返します. インデックスがリストのノードの数よりも大きい場合、これはゼロを返します。
[DOMName("item")]
public abstract Element this[int index] { get; }
不動産価値
Methods
GetEnumerator()
エノメーターを入手します。
public abstract IEnumerator<element> GetEnumerator()
Returns
IEnumerator < Element >
System.Collections.IEnumerator オブジェクトは、コレクションを通してイテレートするために使用することができます。
GetPlatformType()
この方法は、ECMAScript オブジェクト System.Type を取得するために使用されます。
public override Type GetPlatformType()
Returns
ECMAScript オブジェクト System.Type
NamedItem(ストレッチ)
コレクションに記載された指定名を返します。
[DOMNullable]
[DOMName("namedItem")]
public Element NamedItem(string name)
Parameters
name
string
要素名です。
Returns
合成要素