Ant Organisation Ltd documentation

XmlHelper.GetInstanceFromObject Method (ContentDefinition, Object, IDictionary)

Takes an object (which is content entryable) and its ContentDefinition and returns the Xml instance representing it

public static XmlDocument GetInstanceFromObject(
   ContentDefinition def,
   object obj,
   IDictionary context
);

Parameters

def
Content definition of the object
obj
Object to turn in to XML
context

Return Value

XmlDocument representing the instance

See Also

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