Documentation EDI-Interface LKW Walter AT - Release 1.6.1
FromXmlFile(String,SerializationContext) Method



edi.lkwwalter.cioi.EDITrainV162Lib Namespace > ClassFactory Class > FromXmlFile Method : FromXmlFile(String,SerializationContext) Method
The file to be loaded
The context to use when loading the data
Creates an object from XML data held in a File
Syntax
'Declaration
 
Public Overloads Shared Function FromXmlFile( _
   ByVal FileName As String, _
   ByVal context As LiquidTechnologies.Runtime.SerializationContext _
) As LiquidTechnologies.Runtime.XmlObjectBase
'Usage
 
Dim FileName As String
Dim context As LiquidTechnologies.Runtime.SerializationContext
Dim value As LiquidTechnologies.Runtime.XmlObjectBase
 
value = ClassFactory.FromXmlFile(FileName, context)
public static LiquidTechnologies.Runtime.XmlObjectBase FromXmlFile( 
   string FileName,
   LiquidTechnologies.Runtime.SerializationContext context
)
public:
static LiquidTechnologies.Runtime.XmlObjectBase^ FromXmlFile( 
   String^ FileName,
   LiquidTechnologies.Runtime.SerializationContext^ context
) 

Parameters

FileName
The file to be loaded
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