Opc.Ua.XmlDecoder.ReadUInt64 C# (CSharp) 메소드

ReadUInt64() 공개 메소드

Reads a ulong from the stream.
public ReadUInt64 ( string fieldName ) : ulong
fieldName string
리턴 ulong
        public ulong ReadUInt64(string fieldName)
        {
            if (BeginField(fieldName, true))
            {
                string xml = ReadString();

                if (!String.IsNullOrEmpty(xml))
                {
                    ulong value = XmlConvert.ToUInt64(xml);
                    EndField(fieldName);
                    return value;
                }
            }

            return 0;
        }