[ Team LiB ] Previous Section Next Section

XmlTextReaderSystem.Xml (system.xml.dll) CF 1.0, ECMA 1.0  class 

public class XmlTextReader : XmlReader, IXmlLineInfo {
// Public Constructors
   public XmlTextReader( System.IO.Stream input);  
   public XmlTextReader( System.IO.Stream input, XmlNameTable nt);  
   public XmlTextReader( System.IO.Stream xmlFragment, XmlNodeType fragType, XmlParserContext context);  
   public XmlTextReader( string url);  
   public XmlTextReader( string url, System.IO.Stream input);  
   public XmlTextReader( string url, System.IO.Stream input, XmlNameTable nt);  
   public XmlTextReader( string url, System.IO.TextReader input);  
   public XmlTextReader( string url, System.IO.TextReader input, XmlNameTable nt);  
   public XmlTextReader( string url, XmlNameTable nt);  
   public XmlTextReader( string xmlFragment, XmlNodeType fragType, XmlParserContext context);  
   public XmlTextReader( System.IO.TextReader input);  
   public XmlTextReader( System.IO.TextReader input, XmlNameTable nt);  
// Protected Constructors
   protected XmlTextReader( );  
   protected XmlTextReader( XmlNameTable nt);  
// Public Instance Properties
   public override int AttributeCount{get; }                          // overrides XmlReader
   public override string BaseURI{get; }                              // overrides XmlReader
   public override int Depth{get; }                                   // overrides XmlReader
   public Encoding Encoding{get; } 
   public override bool EOF{get; }                                    // overrides XmlReader
   public override bool HasValue{get; }                               // overrides XmlReader
   public override bool IsDefault{get; }                              // overrides XmlReader
   public override bool IsEmptyElement{get; }                         // overrides XmlReader
   public int LineNumber{get; }                                       // implements IXmlLineInfo
   public int LinePosition{get; }                                     // implements IXmlLineInfo
   public override string LocalName{get; }                            // overrides XmlReader
   public override string Name{get; }                                 // overrides XmlReader
   public bool Namespaces{set; get; } 
   public override string NamespaceURI{get; }                         // overrides XmlReader
   public override XmlNameTable NameTable{get; }                      // overrides XmlReader
   public override XmlNodeType NodeType{get; }                        // overrides XmlReader
   public bool Normalization{set; get; } 
   public override string Prefix{get; }                               // overrides XmlReader
   public override char QuoteChar{get; }                              // overrides XmlReader
   public override ReadState ReadState{get; }                         // overrides XmlReader
   public override string this[ int i ]{get; }                        // overrides XmlReader
   public override string this[ string name ]{get; }                  // overrides XmlReader
   public override string this[ string name, string namespaceURI ]{get; }   // overrides XmlReader
   public override string Value{get; }                                // overrides XmlReader
   public WhitespaceHandling WhitespaceHandling{set; get; } 
   public override string XmlLang{get; }                              // overrides XmlReader
   public XmlResolver XmlResolver{set; } 
   public override XmlSpace XmlSpace{get; }                           // overrides XmlReader
// Public Instance Methods
   public override void Close( );                                      // overrides XmlReader
   public override string GetAttribute( int i);                       // overrides XmlReader
   public override string GetAttribute( string name);                 // overrides XmlReader
   public override string GetAttribute( string localName, string namespaceURI);    // overrides XmlReader
   public TextReader GetRemainder( );  
   public override string LookupNamespace( string prefix);            // overrides XmlReader
   public override bool MoveToAttribute( string name);                // overrides XmlReader
   public override bool MoveToAttribute( string localName, string namespaceURI);    // overrides XmlReader
   public override void MoveToAttribute( int i);                      // overrides XmlReader
   public override bool MoveToElement( );                              // overrides XmlReader
   public override bool MoveToFirstAttribute( );                       // overrides XmlReader
   public override bool MoveToNextAttribute( );                        // overrides XmlReader
   public override bool Read( );                                       // overrides XmlReader
   public override bool ReadAttributeValue( );                         // overrides XmlReader
   public int ReadBase64( byte[ ] array, int offset, int len);  
   public int ReadBinHex( byte[ ] array, int offset, int len);  
   public int ReadChars( char[ ] buffer, int index, int count);  
   public void ResetState( );  
   public override void ResolveEntity( );                              // overrides XmlReader
}

This class is a text-based reader for XML documents derived from XmlReader. XmlTextReader checks for well-formedness and expands entities, but does not validate data according to a DTD or schema.

Hierarchy

System.Object XmlReader XmlTextReader(IXmlLineInfo)

    [ Team LiB ] Previous Section Next Section