[F] getXmlEncoding
function getXmlEncoding(program, type): XmlEncodeData | undefined
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
Parameter | Type | Description |
---|---|---|
program | Program | |
type | ModelProperty | Scalar |
Returns
XmlEncodeData
| undefined