DomPropertyMap
Namespace: Temml
public sealed class DomPropertyMap : IEnumerable<KeyValuePair<string, string?>>, IEnumerableThe 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
Properties
Section titled “Properties”public int Count { get; }The number of entries.
Value: int
this[string]
Section titled “this[string]”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
Methods
Section titled “Methods”ContainsKey(string)
Section titled “ContainsKey(string)”public bool ContainsKey(string name)Whether the name is present.
Parameters
| Name | Type | Description |
|---|---|---|
name |
string |
Returns: bool
GetEnumerator()
Section titled “GetEnumerator()”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.
Remove(string)
Section titled “Remove(string)”public bool Remove(string name)Removes a name. Maps to the delete operator.
Parameters
| Name | Type | Description |
|---|---|---|
name |
string |
Returns: bool
MIT · Copyright 2020 Ron Kok · unofficial community port of Temml