public static LoadFromFile ( string fileName, |
||
fileName | string | string xml file to load and deserialize |
obj | Output PCI object | |
exception | output Exception value if deserialize failed | |
return | bool |
public static bool LoadFromFile(string fileName, out PCI obj, out Exception exception)
{
exception = null;
obj = default(PCI);
try
{
obj = LoadFromFile(fileName);
return true;
}
catch (Exception ex)
{
exception = ex;
return false;
}
}
PCI::LoadFromFile ( string fileName ) : |
|
PCI::LoadFromFile ( string fileName, |