GoDiagram Win Reference
ConsumeRootBody Method

the data structure representing the whole document body, the result of a call to ConsumeRootAttributes
Call ConsumeObject for each element found in the root element.
Syntax
'Declaration
 
Protected Overridable Sub ConsumeRootBody( _
   ByVal obj As Object _
) 
protected virtual void ConsumeRootBody( 
   object obj
)

Parameters

obj
the data structure representing the whole document body, the result of a call to ConsumeRootAttributes
Remarks
The default implementation assumes ConsumeRootElement returns either an IList or an IGoCollection (such as a GoDocument or a GoCollection) representing the collection of objects to be read from the XML. If the object returned by ConsumeObject is a GoObject and root object is a IGoCollection, the GoObject is Add'ed to the IGoCollection. Otherwise, if the root object is an IList, the new object is Added to the IList. If you have overridden ConsumeRootElement or ConsumeRootAttributes to return a different kind of object, you may need to override this method too.
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

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback