CreateDictionaryReader() public static méthode

public static CreateDictionaryReader ( System reader ) : System.Xml.XmlDictionaryReader
reader System
Résultat System.Xml.XmlDictionaryReader
 public static IEnumerable <XmlDictionaryReader> GetChildElementReaders(this XmlDictionaryReader reader)
 {
     while (reader.Read())
     {
         if (reader.IsStartElement())
         {
             using (var child = XmlDictionaryReader.CreateDictionaryReader(reader.ReadSubtree()))
             {
                 if (!child.Read())
                 {
                     continue;
                 }
                 yield return(child);
             }
         }
     }
 }