public static FindElementAsLong ( |
||
e | The element that searches. | |
find | String | What we are searching for. |
def | long | The default value, if we fail to find it. |
return | long |
public static long FindElementAsLong(XmlElement e, String find,
long def)
{
String str = FindElementAsString(e, find);
if (str == null)
{
return def;
}
return long.Parse(str);
}