System.Xml.XmlReader.XmlReader.ReadElementContentAsDouble C# (CSharp) Method

ReadElementContentAsDouble() public method

public ReadElementContentAsDouble ( string localName, string namespaceURI ) : double
localName string
namespaceURI string
return double
		public virtual double ReadElementContentAsDouble (string localName, string namespaceURI)
		{
			try {
				return XQueryConvert.StringToDouble (ReadElementContentAsString (localName, namespaceURI));
			} catch (FormatException ex) {
				throw XmlError ("Typed value is invalid.", ex);
			}
		}

Same methods

XmlReader.XmlReader::ReadElementContentAsDouble ( ) : double