Skip to content

DomPropertyMap

Namespace: Temml

public sealed class DomPropertyMap : IEnumerable<KeyValuePair<string, string?>>, IEnumerable

The attributes or the style of a node: names to values in the order JavaScript enumerates object keys. A null value is upstream’s undefined and prints as “undefined”.

Inheritance: object

Implements: IEnumerable<KeyValuePair<string, string>>, IEnumerable

View source

public int Count { get; }

The number of entries.

Value: int

View source

public string? this[string name] { get; set; }

Gets or sets a value. Reading a name that is not present returns null.

Parameters

Name Type Description
name string

Value: string

View source

public bool ContainsKey(string name)

Whether the name is present.

Parameters

Name Type Description
name string

Returns: bool

View source

public IEnumerator<KeyValuePair<string, string?>> GetEnumerator()

Returns an enumerator that iterates through the collection.

Returns: IEnumerator<KeyValuePair<string, string>> — An enumerator that can be used to iterate through the collection.

View source

public bool Remove(string name)

Removes a name. Maps to the delete operator.

Parameters

Name Type Description
name string

Returns: bool

View source

MIT · Copyright 2020 Ron Kok · unofficial community port of Temml