Einhugur YAML Plugin for Xojo

Document.AddMapping Method

Adds mapping to the YAML document which you are creating.

AddMapping(
   tag as String,
   style as EinhugurYAML.MappingStyles) as Integer

Parameters

tag
Tag for the mapping.
style
Style for the mapping.

Returns

Integer
Id of the newly added mapping.

Remarks

First node added to the document becomes the root node, other nodes will not become part of the document until wired up as child to other nodes in the document.

See Also

Document Class