Base:
method
ValueAs
System.Xml.XPath.XPathItem.ValueAs(System.Type, System.Xml.IXmlNamespaceResolver)
9 references to ValueAs
System.Private.Xml (9)
System\Xml\Schema\XmlValueConverter.cs (8)
1875if (sourceType == typeof(XmlAtomicValue)) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 1889if (sourceType == typeof(XmlAtomicValue)) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 2224if (sourceType == typeof(XmlAtomicValue)) return ((string)((XmlAtomicValue)value).ValueAs(typeof(string), nsResolver)); 2419if (sourceType == typeof(XmlAtomicValue)) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 2433if (sourceType == typeof(XmlAtomicValue)) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 2789if (sourceType == typeof(XmlAtomicValue)) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 2803if (sourceType == typeof(XmlAtomicValue)) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 3148return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver);
System\Xml\Xsl\Runtime\XsltConvert.cs (1)
286return new XmlAtomicValue(destinationType.SchemaType, ToDouble((decimal)value.ValueAs(typeof(decimal), null)));