System.Xml.XmlReader.Close C# (CSharp) Method

Close() public method

public Close ( ) : void
return void
        public virtual void Close() { }

Usage Example

 private void expandNamespace_namespace(TreeNodeCollection outNodes, TreeNode outInstanceMethods, string strSection, string strNamespace, XmlReader reader)
 {
     bool bContinue = reader.ReadToDescendant("namespace");
     while (bContinue)
     {
         if (reader.GetAttribute("name") == strNamespace)
         {
             expandNamespace_function(outNodes, outInstanceMethods, strSection, strNamespace, reader.ReadSubtree());
             reader.Close();
             return;
         }
         bContinue = ReadToNextSibling(reader, "namespace");
     }
     reader.Close();
 }
All Usage Examples Of System.Xml.XmlReader::Close