GoDiagram Web Reference
Objects Property (GoXmlWriter)

Gets or sets the collection of objects to be generated.
Syntax
'Declaration
 
Public Property Objects As IEnumerable
public IEnumerable Objects {get; set;}

Property Value

This must be set before calling Generate(XmlWriter) or Generate.
Remarks

Caution: Northwoods.GoWeb.GoNode implements ICollection, so if you set this property to refer to a node in your document, this writer will try to generate XML for the parts of your node, which is probably not what you intend.

Caution: If you are generating tree-structured XML corresponding to a logically tree-structured graph of nodes and links, by making use of the GoXmlBindingTransformer.TreeStructured property, you will need to make sure that the collection that you assign to this property contains only the logical root nodes of the logical trees in your document. That transformer will automatically generate nested XML for the nodes corresponding to the tree-children of each node given in this collection property, and recursively through the whole tree. That will cause the generation of duplicate XML elements for every single logical node in your trees.

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

GoXmlWriter Class
GoXmlWriter Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback