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