GoDiagram Web Reference
GenerateRootAttributes Method (GoXmlWriter)

Generate attributes for the root element.
Syntax
'Declaration
 
Protected Overridable Sub GenerateRootAttributes() 
protected virtual void GenerateRootAttributes()
Remarks

If Objects property value is a Northwoods.GoWeb.GoDocument, and if there is a GoXmlBindingTransformer registered for that GoDocument type, this calls GenerateAttributes on that transformer, passing it the Northwoods.GoWeb.GoDocument. This provides an easy-to-define mechanism for binding document properties with root element attributes.

Otherwise, this does nothing. You may want to define namespace attributes, as is shown in the description for SetNamespaceUri, by calling SetNamespaceUri before this method is called. The Generate methods will call WriteNamespaceAttribute for each prefix/namespaceURI pair, just after calling GenerateRootElement, and just before calling 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

GoXmlWriter Class
GoXmlWriter Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback