Element¶
Adds a new element with the specified name and value.
1 |
|
Parameters¶
string name
name of element
( string | number | boolean | DateTimeOffset ) value
value of element
Remarks¶
This method creates a new element with the specified name and value and returns the current writer instance.
value is encoded with XML encoding rules.
Example¶
1 2 3 4 |
|