Class MutationObserverInit

Class MutationObserverInit

ชื่อพื้นที่: Aspose.Html.Dom.Mutations การประกอบ: Aspose.HTML.dll (25.4.0)

ประเภทนี้เป็นชุดตัวเลือกที่ใช้ในการกําหนด Aspose.Html.Dom.Mutations.MutationObserver

[ComVisible(true)]
public class MutationObserverInit : IDictionary<string, object="">, ICollection<keyvaluepair<string, object="">&gt;, IEnumerable<keyvaluepair<string, object="">&gt;, IEnumerable

Inheritance

object MutationObserverInit

Implements

IDictionary<string, object=""> , ICollection<keyvaluepair<string, object="">> , IEnumerable<keyvaluepair<string, object="">> , IEnumerable

อนุญาโตตุลาการ

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

Constructors

MutationObserverInit()

เริ่มต้นตัวอย่างใหม่ของคลาส Aspose.Html.Dom.Mutations.MutationObserverInit

public MutationObserverInit()

Properties

AttributeFilter

การตั้งค่าในรายการของชื่อท้องถิ่นของคุณสมบัติ (ไม่มีพื้นที่ชื่อ) หากไม่จําเป็นต้องสังเกตการเปลี่ยนแปลงทั้งหมดของคุณสมบัติและคุณสมบัติเป็นจริงหรือล้มเหลว

public IList<string> AttributeFilter { get; set; }

คุณสมบัติมูลค่า

IList < string >

AttributeOldValue

การตั้งค่าเป็นจริงถ้าคุณสมบัติเป็นจริงหรือล้มเหลวและค่าคุณสมบัติของเป้าหมายก่อนที่จะมีการบันทึกการเปลี่ยนแปลง

public bool AttributeOldValue { get; set; }

คุณสมบัติมูลค่า

bool

Attributes

การตั้งค่าให้ถูกต้องหากมีการสังเกตการเปลี่ยนแปลงไปยังคุณสมบัติของเป้าหมาย สามารถล้มเหลวได้หากคุณสมบัติOldValue และ/หรือคุณสมบัติFilter จะระบุไว้

public bool Attributes { get; set; }

คุณสมบัติมูลค่า

bool

CharacterData

การตั้งค่าให้ถูกต้องหากมีการเปลี่ยนแปลงไปยังข้อมูลของเป้าหมายจะสังเกตได้ สามารถลืมได้หากคุณลักษณะDataOldValue จะระบุ

public bool CharacterData { get; set; }

คุณสมบัติมูลค่า

bool

CharacterDataOldValue

การตั้งค่าเป็นจริงถ้าข้อมูลของตัวละครถูกตั้งค่าเป็นจริงหรือล้มเหลวและข้อมูลของเป้าหมายก่อนที่จะมีการบันทึกการเปลี่ยนแปลง

public bool CharacterDataOldValue { get; set; }

คุณสมบัติมูลค่า

bool

ChildList

การตั้งค่าเพื่อให้แน่ใจว่าการเปลี่ยนแปลงไปยังเด็กเป้าหมายจะต้องสังเกตได้

public bool ChildList { get; set; }

คุณสมบัติมูลค่า

bool

Count

รับจํานวนคู่คีย์/มูลค่าที่อยู่ในคอลเลกชัน Aspose.Html.Dom.Mutations.MutationObserverInit

public int Count { get; }

คุณสมบัติมูลค่า

int

IsReadOnly

กําหนดว่าการเก็บรวบรวม Aspose.Html.Dom.Mutations.MutationObserverInit จะมีการเปลี่ยนแปลงได้หรือไม่

public bool IsReadOnly { get; }

คุณสมบัติมูลค่า

bool

Keys

รับคอลเลกชันที่มีคีย์ในคอลเลกชัน Aspose.Html.Dom.Mutations.MutationObserverInit

public ICollection<string> Keys { get; }

คุณสมบัติมูลค่า

ICollection < string >

Subtree

ให้เป็นจริงถ้าการเปลี่ยนแปลงไม่เพียง แต่เป็นเป้าหมาย แต่ยังเป็นต้นกําเนิดของเป้าหมายจะได้รับการสังเกต

public bool Subtree { get; set; }

คุณสมบัติมูลค่า

bool

Values

รับคอลเลกชันที่มีค่าในคอลเลกชัน Aspose.Html.Dom.Mutations.MutationObserverInit

public ICollection<object> Values { get; }

คุณสมบัติมูลค่า

ICollection < object >

นี่[รั้ว]

รับหรือตั้งค่าองค์ประกอบด้วยกุญแจที่ระบุ

public object this[string key] { get; set; }

คุณสมบัติมูลค่า

object

Methods

Add(KeyValuePair<string, วัตถุ="">)

เพิ่มองค์ประกอบไปยังคอลเลกชัน Aspose.Html.Dom.Mutations.MutationObserverInit

public void Add(KeyValuePair<string, object=""> item)

Parameters

item KeyValuePair < string , object >

รายการที่จะเพิ่ม

Add(วัตถุ วัตถุ)

เพิ่มกุญแจและค่าที่ระบุไว้ในชุด Aspose.Html.Dom.Mutations.MutationObserverInit

public void Add(string key, object value)

Parameters

key string

คีย์ขององค์ประกอบที่จะเพิ่ม

value object

ราคาขององค์ประกอบที่จะเพิ่ม

Clear()

ลบองค์ประกอบทั้งหมดจากชุด Aspose.Html.Dom.Mutations.MutationObserverInit

public void Clear()

Contains(KeyValuePair<string, วัตถุ="">)

กําหนดว่า Aspose.Html.Dom.Mutations.MutationObserverInit มีคู่หลัก/ค่าที่ระบุหรือไม่

public bool Contains(KeyValuePair<string, object=""> item)

Parameters

item KeyValuePair < string , object >

รายการที่จะตรวจสอบ

Returns

bool

จริงถ้า Aspose.Html.Dom.Mutations.MutationObserverInit มีคู่กุญแจ/ค่าที่ระบุ ฯลฯ คล้ม

ContainsKey(รั้ว)

กําหนดว่าการเก็บรวบรวม Aspose.Html.Dom.Mutations.MutationObserverInit มีคีย์ที่กําหนดหรือไม่

public bool ContainsKey(string key)

Parameters

key string

คีย์ที่จะตรวจสอบ

Returns

bool

จริงถ้า Aspose.Html.Dom.Mutations.MutationObserverInit มีกุญแจที่ระบุ ฯลฯ คล้ม

CopyTo(KeyValuePair<string, วัตถุ="">[ ], ฯลฯ)

คัดลอก Aspose.Html.Dom.Mutations.MutationObserverInit องค์ประกอบไปยังแถวเดียวที่มีอยู่เริ่มต้นจากแถวที่ระบุ

public void CopyTo(KeyValuePair<string, object="">[] array, int arrayIndex)

Parameters

array KeyValuePair < string , object > [ ]

จุดหมายปลายทาง

arrayIndex int

ดัชนี Array เริ่มต้น

GetEnumerator()

กลับตัวเลขที่ iterates ผ่าน Aspose.Html.Dom.Mutations.MutationObserverInit Elements

public IEnumerator<keyvaluepair<string, object="">&gt; GetEnumerator()

Returns

IEnumerator < KeyValuePair < string , object > >

A System.Collections.Generic.IEnumerator`1 object that can be used to iterate through the Aspose.Html.Dom.Mutations.MutationObserverInit elements

Remove(KeyValuePair<string, วัตถุ="">)

ลบคู่หลัก/ค่าที่ระบุจากคอลเลกชัน Aspose.Html.Dom.Mutations.MutationObserverInit

public bool Remove(KeyValuePair<string, object=""> item)

Parameters

item KeyValuePair < string , object >

รายการที่จะลบ

Returns

bool

จริงถ้าได้รับการกําจัดอย่างประสบความสําเร็จ ในทางอื่น ๆ จริง

Remove(รั้ว)

ลบค่าที่เกี่ยวข้องกับกุญแจที่ระบุจากชุด Aspose.Html.Dom.Mutations.MutationObserverInit

public bool Remove(string key)

Parameters

key string

คีย์ขององค์ประกอบที่จะลบ

Returns

bool

จริงถ้าองค์ประกอบจะพบและลบอย่างประสบความสําเร็จในทางตรงกันข้ามความผิดพลาด

TryGetValue(String วัตถุออก)

รับค่าที่เกี่ยวข้องกับกุญแจที่ระบุ

public bool TryGetValue(string key, out object value)

Parameters

key string

คีย์ของมูลค่าที่จะได้รับ

value object

เมื่อวิธีการนี้จะกลับมามีค่าที่เกี่ยวข้องกับกุญแจที่ระบุหากกุญแจจะพบหรือไม่

Returns

bool

จริงถ้า Aspose.Html.Dom.Mutations.MutationObserverInit มีกุญแจที่ระบุ ฯลฯ คล้ม</string,></string,></keyvaluepair<string,></string,></string,></string,></string,></string,></string,></keyvaluepair<string,></keyvaluepair<string,></string,></keyvaluepair<string,></keyvaluepair<string,></string,>

 แบบไทย