XPathNavigator.Prefix Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

When overridden in a derived class, gets the namespace prefix associated with the current node.

Namespace:  System.Xml.XPath
Assembly:  System.Xml.XPath (in System.Xml.XPath.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property Prefix As String
public abstract string Prefix { get; }

Property Value

Type: System.String
A String that contains the namespace prefix associated with the current node.

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.