XML property
The XML property sets or gets the XML file that is associated with an object. You can use this property to populate a run time object from the Setup DCO file and assign the XML file to a variable.
Syntax
- C#
string XML { set; get; }
Arguments
None.
Returns
String containing the XML file name.
Applies to
All object types.
C# example
This example populates the runtime batch object from the DCO Setup file, and then assigns the XML file to the variable strDCOXml.
m_oDCO.Read("C:\\Datacap\\APT\\batches\\20100096.001\\Verify.xml");
strDCOXml = m_oDCO.XML;