System.Xml.XmlBaseReader.ReadContentAsInt C# (CSharp) Méthode

ReadContentAsInt() public méthode

public ReadContentAsInt ( ) : Int32
Résultat System.Int32
        public override Int32 ReadContentAsInt()
        {
            XmlNode node = this.Node;
            if (_value == null && node.IsAtomicValue)
            {
                Int32 value = node.Value.ToInt();
                SkipValue(node);
                return value;
            }
            return XmlConverter.ToInt32(ReadContentAsString());
        }