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)
1908if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 1922if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 2257if (sourceType == XmlAtomicValueType) return ((string)((XmlAtomicValue)value).ValueAs(StringType, nsResolver)); 2452if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 2466if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 2822if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 2836if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 3181return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver);
System\Xml\Xsl\Runtime\XsltConvert.cs (1)
286return new XmlAtomicValue(destinationType.SchemaType, ToDouble((decimal)value.ValueAs(typeof(decimal), null)));