System::Xml::XPath::XPathExpression::SetContext method

XPathExpression::SetContext(SharedPtr<IXmlNamespaceResolver>) method

When overridden in a derived class, specifies the IXmlNamespaceResolver object to use for namespace resolution.

virtual void System::Xml::XPath::XPathExpression::SetContext(SharedPtr<IXmlNamespaceResolver> nsResolver)=0
ParameterTypeDescription
nsResolverSharedPtr<IXmlNamespaceResolver>An object that implements the IXmlNamespaceResolver interface to use for namespace resolution.

See Also

XPathExpression::SetContext(SharedPtr<XmlNamespaceManager>) method

When overridden in a derived class, specifies the XmlNamespaceManager object to use for namespace resolution.

virtual void System::Xml::XPath::XPathExpression::SetContext(SharedPtr<XmlNamespaceManager> nsManager)=0
ParameterTypeDescription
nsManagerSharedPtr<XmlNamespaceManager>An XmlNamespaceManager object to use for namespace resolution.

See Also