Encog.Util.XMLUtil.FindElementAsLong C# (CSharp) 메소드

FindElementAsLong() 공개 정적인 메소드

Find an element, return as a long.
public static FindElementAsLong ( XmlElement e, String find, long def ) : long
e System.Xml.XmlElement The element that searches.
find String What we are searching for.
def long The default value, if we fail to find it.
리턴 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);

        }