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

System.Xml.XmlReader.Prefix Property

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

public abstract string Prefix { get; }

Value

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

Remarks

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".

Operation

As described above.

This property is read-only.

Note to Inheritors
This property must be overridden in order to provide the functionality described above, as there is no default implementation.

[Edit]

Requirements

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