System::Xml::XPath::XPathNavigator::ValueAs method

XPathNavigator::ValueAs method

Returns the current node’s value as the Type specified, using the IXmlNamespaceResolver object specified to resolve namespace prefixes.

SharedPtr<Object> System::Xml::XPath::XPathNavigator::ValueAs(const TypeInfo &returnType, SharedPtr<IXmlNamespaceResolver> nsResolver) override
ParameterTypeDescription
returnTypeconst TypeInfo&The Type to return the current node’s value as.
nsResolverSharedPtr<IXmlNamespaceResolver>The IXmlNamespaceResolver object used to resolve namespace prefixes.

ReturnValue

The value of the current node as the Type requested.

See Also