Mono Class Library: System.Xml.XmlTextReader Overview | Members

System.Xml.XmlTextReader.Prefix Property

Gets the namespace prefix associated with the current node. [Edit]

public override string Prefix { get; }

Value

A string containing the namespace prefix associated with the current node. [Edit]

Remarks

This property is read-only.

Note:

A namespace prefix is used as a reference for a namespace URI and is defined in an element declaration. For example, <someElement xmlns:bk='someURL'>, defines a prefix name "bk".

This property overrides XmlReader.Prefix.

[Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0