Northwoods.Go.Xml Assembly > Northwoods.Go.Xml Namespace > GoXmlReader Class > Consume Method : Consume(TextReader) Method |
TextReader
'Declaration Public Overloads Function Consume( _ ByVal source As TextReader _ ) As Object
public object Consume( TextReader source )
TextReader
This does some initialization, creates a XmlReader
, calls LoadDOM to perhaps create a XmlDocument
. Then it calls, in order, ConsumeInstructions, ConsumeRootElement, ConsumeRootAttributes, ConsumeRootBody, ProcessDelayedObjects. Note that if UseDOM is true, the whole DOM is loaded by LoadDOM and the XmlReader will be null.
This calls XmlReader.Create
with the value of this.XmlReaderSettings
.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2