Repository.XFRACAS.SerializeXMLObjectToByteArray

Serializes an XML file for import into XFRACAS. Returns a Boolean value; when true, indicates a successful serialization.

Syntax
.XFRACAS.SerializeXMLObjectToByteArray(pData, pObject)

Parameters
pData


 * Required. Byte. A defined byte array.

pObject


 * Required. A serializable XML object.

Example
VB.NET MyRepository Repository xmlObject = byteArray = SerializeSuccess SerializeSuccess = MyRepository.XFRACAS.SerializeXMLObjectToByteArray(byteArray, xmlObject) ImportXMLSystemID ImportXMLSystemID = MyRepository.XFRACAS.ImportXfracasXml(10, XFRACASImportType.Incident, byteArray,, ) MyRepository.XFRACAS.ProcessXfracasImports