Class MutationObserverInit

Class MutationObserverInit

Le nom : Aspose.Html.Dom.Mutations Assemblaggio: Aspose.HTML.dll (25.4.0)

Questa classe rappresenta una raccolta di opzioni che viene utilizzata per configurare 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

I membri ereditari

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

Constructors

MutationObserverInit()

Inizia una nuova instanza della classe Aspose.Html.Dom.Mutations.MutationObserverInit.

public MutationObserverInit()

Properties

AttributeFilter

Imposta su un elenco di nomi locali di attributi (senza spazio di nome) se non tutte le mutazioni di attributi devono essere osservate e gli attributi sono veri o omesso.

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

Valore di proprietà

IList di < string >

AttributeOldValue

Set a vero se gli attributi sono veri o omesso e il valore attributivo del target prima che la mutazione debba essere registrata.

public bool AttributeOldValue { get; set; }

Valore di proprietà

bool

Attributes

È possibile escludere se è specificato attributeOldValue e/o attributeFilter.

public bool Attributes { get; set; }

Valore di proprietà

bool

CharacterData

Set a verità se le mutazioni ai dati del target devono essere osservate. può essere escluso se il carattereDataOldValue è specificato

public bool CharacterData { get; set; }

Valore di proprietà

bool

CharacterDataOldValue

Imposta in vera se i dati di carattere sono impostati in vera o omesso e i dati dell’obiettivo prima che la mutazione debba essere registrata.

public bool CharacterDataOldValue { get; set; }

Valore di proprietà

bool

ChildList

Fatto a verità se le mutazioni verso i bambini mirati devono essere osservate.

public bool ChildList { get; set; }

Valore di proprietà

bool

Count

Riceve il numero di coppie chiave/valore contenute nella raccolta Aspose.Html.Dom.Mutations.MutationObserverInit.

public int Count { get; }

Valore di proprietà

int

IsReadOnly

Determina se la raccolta Aspose.Html.Dom.Mutations.MutationObserverInit è mutevole.

public bool IsReadOnly { get; }

Valore di proprietà

bool

Keys

Riceve una collezione contenente le chiavi nella collezione Aspose.Html.Dom.Mutations.MutationObserverInit.

public ICollection<string> Keys { get; }

Valore di proprietà

ICollection di < string >

Subtree

Set a verità se le mutazioni non solo verso l’obiettivo ma anche i discendenti dell’obiettivo devono essere osservati

public bool Subtree { get; set; }

Valore di proprietà

bool

Values

Riceve una collezione contenente i valori nella collezione Aspose.Html.Dom.Mutations.MutationObserverInit.

public ICollection<object> Values { get; }

Valore di proprietà

ICollection di < object >

Ceci[Le string]

Riceve o mette l’elemento con la chiave specificata.

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

Valore di proprietà

object

Methods

Add(KeyValuePair<string, objet=» » »)

Aggiungi un elemento alla raccolta Aspose.Html.Dom.Mutations.MutationObserverInit.

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

Parameters

item KeyValuePair di < string , object >

L’articolo da aggiungere.

Add(Télécharger, Objet)

Aggiungi la chiave e il valore specificati alla raccolta Aspose.Html.Dom.Mutations.MutationObserverInit.

public void Add(string key, object value)

Parameters

key string

La chiave dell’elemento da aggiungere.

value object

Il valore dell’elemento da aggiungere.

Clear()

Rimuove tutti gli elementi dalla raccolta Aspose.Html.Dom.Mutations.MutationObserverInit.

public void Clear()

Contains(KeyValuePair<string, objet=» » »)

Determina se Aspose.Html.Dom.Mutations.MutationObserverInit contiene la coppia chiave/valore specificata.

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

Parameters

item KeyValuePair di < string , object >

L’oggetto da controllare.

Returns

bool

È vero se Aspose.Html.Dom.Mutations.MutationObserverInit contiene la coppia chiave/valore specificata; altrimenti, falso.

ContainsKey(Le string)

Determina se la collezione Aspose.Html.Dom.Mutations.MutationObserverInit contiene una chiave specifica.

public bool ContainsKey(string key)

Parameters

key string

La chiave per controllare.

Returns

bool

È vero se il Aspose.Html.Dom.Mutations.MutationObserverInit contiene una chiave specifica; altrimenti, falso.

CopyTo(KeyValuePair<string, objet=» » »[ ], et int)

Copia gli elementi Aspose.Html.Dom.Mutations.MutationObserverInit ad un’array unidimensionale esistente, a partire dall’indice di array specificato.

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

Parameters

array KeyValuePair di < string , object et c’est [ ]

Destinazione di Array.

arrayIndex int

L’indice array per iniziare.

GetEnumerator()

Ritorna un elenco che iterato attraverso gli elementi Aspose.Html.Dom.Mutations.MutationObserverInit.

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

Returns

IEnumerator di < KeyValuePair di < string , object et de >>

Un objet System.Collections.Generic.IEnumerator`1 qui peut être utilisé pour itérer à travers les éléments Aspose.Html.Dom.Mutations.

Remove(KeyValuePair<string, objet=» » »)

Rimuove la coppia chiave/valore specificata dalla raccolta Aspose.Html.Dom.Mutations.MutationObserverInit.

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

Parameters

item KeyValuePair di < string , object >

L’oggetto da rimuovere.

Returns

bool

È vero se è stato rimosso con successo; altrimenti, falso.

Remove(Le string)

Rimuove il valore associato alla chiave specificata dalla raccolta Aspose.Html.Dom.Mutations.MutationObserverInit.

public bool Remove(string key)

Parameters

key string

La chiave dell’elemento da rimuovere.

Returns

bool

È vero se l’elemento viene trovato e rimosso con successo; altrimenti, falso.

TryGetValue(Téléchargement, out object)

Riceve il valore associato alla chiave specificata.

public bool TryGetValue(string key, out object value)

Parameters

key string

La chiave del valore da ottenere.

value object

Quando questo metodo ritorna, contiene il valore associato alla chiave specificata, se la chiave è trovata; altrimenti null.

Returns

bool

È vero se il Aspose.Html.Dom.Mutations.MutationObserverInit contiene una chiave specifica; altrimenti, falso.</string,></string,></keyvaluepair<string,></string,></string,></string,></string,></string,></string,></keyvaluepair<string,></keyvaluepair<string,></string,></keyvaluepair<string,></keyvaluepair<string,></string,>

 Français