Skip to content

b997d02f cec8 f933 281b f1c7488c2406

Fernando Garcia edited this page May 8, 2018 · 1 revision

BaseModel(T).LoadFromFile Method (String, T, Exception)

Additional header content

Deserializes xml markup from file into an BaseModel object

Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public static bool LoadFromFile(
	string fileName,
	out T obj,
	out Exception exception
)

VB

Public Shared Function LoadFromFile ( 
	fileName As String,
	<OutAttribute> ByRef obj As T,
	<OutAttribute> ByRef exception As Exception
) As Boolean

Parameters

 

fileName
Type: System.String
string xml file to load and deserialize
obj
Type: T
Output BaseModel object
exception
Type: System.Exception
output Exception value if deserialize failed

Return Value

Type: Boolean
true if this XmlSerializer can deserialize the object; otherwise, false.

Remarks

[Missing documentation for "M:iTin.Export.Model.BaseModel1.LoadFromFile(System.String,0@,System.Exception@)"]

See Also

Reference

BaseModel(T) Class
LoadFromFile Overload
iTin.Export.Model Namespace

Clone this wiki locally