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

System.Xml.XmlTextReader.LocalName Property

Gets the local name of the current node. [Edit]

public override string LocalName { get; }

Value

A string containing the local name of the current node or, for node types that do not have a name (like Text, Comment , and so on), string.Empty. [Edit]

Remarks

This property is read-only.

The local name is equivalent to XmlTextReader.Name with XmlTextReader.Prefix and the ':' character removed. For example, XmlTextReader.LocalName is "book" for the element <bk:book>.

Note:

This property overrides XmlReader.LocalName.

[Edit]

Requirements

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