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