XPathExpression.SetContext Method (IXmlNamespaceResolver)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
When overridden in a derived class, specifies the IXmlNamespaceResolver object to use for namespace resolution.
Namespace: System.Xml.XPath
Assembly: System.Xml.XPath (in System.Xml.XPath.dll)
Syntax
'Declaration
Public MustOverride Sub SetContext ( _
nsResolver As IXmlNamespaceResolver _
)
public abstract void SetContext(
IXmlNamespaceResolver nsResolver
)
Parameters
- nsResolver
Type: System.Xml.IXmlNamespaceResolver
An object that implements the IXmlNamespaceResolver interface to use for namespace resolution.
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.