[F] getXmlEncoding
function getXmlEncoding(program, type): undefined | XmlEncodeData;Resolve how the given type should be encoded in XML. This will return the default encoding for each types.(e.g. TypeSpec.Xml.Encoding.xmlDateTime for a utcDatetime)
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
program | Program | |
type | ModelProperty | Scalar |
Returns
Section titled “Returns”undefined | XmlEncodeData