{CompanyName} FlexyGo

StateElement..::..LoadFromFile Method (String, StateElement%, Exception%)

Deserializes xml markup from file into an StateElement object

Namespace:  FLEXYGO.Gipe
Assembly:  flxEntity (in flxEntity.dll)

Syntax


public static bool LoadFromFile(
	string fileName,
	ref StateElement obj,
	ref Exception exception
)
Public Shared Function LoadFromFile ( _
	fileName As String, _
	ByRef obj As StateElement, _
	ByRef exception As Exception _
) As Boolean

Parameters

fileName
Type: String
string xml file to load and deserialize
obj
Type: FLEXYGO.Gipe..::..StateElement%
Output StateElement object
exception
Type: Exception%
output Exception value if deserialize failed

Return Value

true if this XmlSerializer can deserialize the object; otherwise, false