Documentation EDI-Interface LKW Walter AT - Release 1.6.1
FromXmlElement(XmlElement,SerializationContext) Method



edi.lkwwalter.cioi.EDITrainV162Lib Namespace > ClassFactory Class > FromXmlElement Method : FromXmlElement(XmlElement,SerializationContext) Method
The data that needs loading
The context to use when loading the data
Creates an object from an XML Element.
Syntax
'Declaration
 
Public Overloads Shared Function FromXmlElement( _
   ByVal xmlParent As XmlElement, _
   ByVal context As LiquidTechnologies.Runtime.SerializationContext _
) As LiquidTechnologies.Runtime.XmlObjectBase
'Usage
 
Dim xmlParent As XmlElement
Dim context As LiquidTechnologies.Runtime.SerializationContext
Dim value As LiquidTechnologies.Runtime.XmlObjectBase
 
value = ClassFactory.FromXmlElement(xmlParent, context)
public static LiquidTechnologies.Runtime.XmlObjectBase FromXmlElement( 
   XmlElement xmlParent,
   LiquidTechnologies.Runtime.SerializationContext context
)
public:
static LiquidTechnologies.Runtime.XmlObjectBase^ FromXmlElement( 
   XmlElement^ xmlParent,
   LiquidTechnologies.Runtime.SerializationContext^ context
) 

Parameters

xmlParent
The data that needs loading
context
The context to use when loading the data

Return Value

The wrapper object, loaded with the supplied data
Remarks
Throws an exception if the XML data is not compatible with the schema
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ClassFactory Class
ClassFactory Members
Overload List