When overridden in a derived class, gets the local name of the current node.
[Visual Basic]
Public MustOverride ReadOnly Property LocalName As String
[C#]
public abstract string LocalName {get;}
[C++]
public: __property virtual String* get_LocalName() = 0;
[JScript]
public abstract function get LocalName() : String; Property Value
The name of the current node with the prefix removed. For example, LocalName is book for the element <bk:book>.
For node types that do not have a name (like Text, Comment, and so on), this property returns String.Empty.
Example
See LocalName (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