Export (0) Print
Expand All

XmlReader.Prefix Property

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

[Visual Basic]
Public MustOverride ReadOnly Property Prefix As String
[C#]
public abstract string Prefix {get;}
[C++]
public: __property virtual String* get_Prefix() = 0;
[JScript]
public abstract function get Prefix() : String;

Property Value

The namespace prefix associated with the current node.

Example

See Prefix (in the XmlTextReader class) for an example using this property.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

XmlReader Class | XmlReader Members | System.Xml Namespace

Show:
© 2014 Microsoft