GoDiagram Web Reference
Consume(XmlReader) Method

an XmlReader
Consume XML from an XmlReader.
Syntax
'Declaration
 
Public Overloads Overridable Function Consume( _
   ByVal source As XmlReader _
) As Object
public virtual object Consume( 
   XmlReader source
)

Parameters

source
an XmlReader

Return Value

an object that represents the whole document, as returned by ConsumeRootElement
Remarks
This does some initialization, 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. You probably do not need to override this method.
Requirements

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

See Also

Reference

GoXmlReader Class
GoXmlReader Members
Overload List

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback