Einhugur YAML Plugin for Xojo

Document.AddMappingItem Method

Adds scalar node with scalar key to a mapping.

AddMappingItem(
   mappingID as Integer,
   key as String,
   value as String)

Parameters

mappingID
Id of the mapping to add to.
key
The key to add.
value
The value to add.

Remarks

This variation of the AddMappingItem is a macro for adding Scalar node for the value, and Scalar node for the key, and then wiring up their Id’s to be added to the mapping.

See Also

Document Class