Ant Organisation Ltd documentation

XmlHelper.PutValuesIntoObjectFromInstance Method (ContentDefinition, XmlDocument, Object, IDictionary, Boolean)

Takes the values from a XForms model and maps them to an object (defined by a ContentDefintion)

public static void PutValuesIntoObjectFromInstance(
   ContentDefinition def,
   XmlDocument instance,
   object obj,
   IDictionary context,
   bool validate
);

Parameters

def
ContentDefinition representing both the object and the model
instance
Instance XML from which to extract new values
obj
Object to map values in to
context
Context to be passed to every converter
validate
Validate the fields

See Also

XmlHelper Class | Ant.ContentEntry Namespace | XmlHelper.PutValuesIntoObjectFromInstance Overload List