public static Load ( string filePath ) : |
||
filePath | string | |
return |
public static ShortcutItemImage Load(string filePath)
{
var x = new XmlSerializer(typeof (ShortcutItemImage));
using (var fs = new FileStream(filePath, FileMode.Open))
{
return (ShortcutItemImage) x.Deserialize(fs);
}
}