public static LoadFromFile ( string fileName, LXI &obj, Exception &exception ) : bool | ||
fileName | string | string xml file to load and deserialize |
obj | LXI | Output LXI object |
exception | Exception | output Exception value if deserialize failed |
Результат | bool |
public static bool LoadFromFile(string fileName, out LXI obj, out Exception exception)
{
exception = null;
obj = default(LXI);
try
{
obj = LoadFromFile(fileName);
return true;
}
catch (Exception ex)
{
exception = ex;
return false;
}
}
LXI::LoadFromFile ( string fileName ) : LXI | |
LXI::LoadFromFile ( string fileName, LXI &obj ) : bool |