XmlTextReader.Name : XmlTextReader « System.Xml « C# / C Sharp by API






XmlTextReader.Name

  


using System;
using System.Xml;

class MainClass
{
    static void Main(string[] args)
    {

        XmlTextReader reader = new XmlTextReader(@"C:\books.xml");

        Console.WriteLine(reader.Name);
        Console.WriteLine(reader.BaseURI);
        Console.WriteLine(reader.LocalName);

    }
}

   
    
  








Related examples in the same category

1.new XmlTextReader (String localURL)
2.new XmlTextReader(String fileName)
3.XmlTextReader.BaseURI
4.XmlTextReader.LocalName