GoDiagram Win Reference
RootObject Property

Gets or sets the object representing the root element of the XML document being read.
Syntax
'Declaration
 
Public Property RootObject As Object
public object RootObject {get; set;}

Property Value

Initially this is null and gets set to the value returned by ConsumeRootElement and then to the value returned by ConsumeRootAttributes. You may want to provide an IList or a IGoCollection that ConsumeRootBody will Add to.
Remarks
If all of the top-level objects that will be read are GoObjects, it is fairly common to provide a GoDocument, so that all those new nodes and links get added to that document. After Consume(XmlReader) or Consume(XmlDocument) are finished, this property is reset to null.
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