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