ValueAs()

XPathNavigator::ValueAs(const TypeInfo&, SharedPtr<IXmlNamespaceResolver>) 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

Arguments

ParameterTypeDescription
returnTypeconst TypeInfo&The Type to return the current node’s value as.
nsResolverSharedPtr<IXmlNamespaceResolver>The IXmlNamespaceResolver object used to resolve namespace prefixes.

Return Value

The value of the current node as the Type requested.

See Also