GoDiagram Web Reference
ConsumeRootAttributes Method

the data structure representing the whole document body, the result of a call to ConsumeRootElement
Consume attributes for the root element.
Syntax
'Declaration
 
Protected Overridable Function ConsumeRootAttributes( _
   ByVal obj As Object _
) As Object
protected virtual object ConsumeRootAttributes( 
   object obj
)

Parameters

obj
the data structure representing the whole document body, the result of a call to ConsumeRootElement

Return Value

The data structure representing the whole document body.
Remarks
By default this does nothing but return its argument. However, if RootObject is a Northwoods.GoWeb.GoDocument, and if there is a GoXmlBindingTransformer registered for that GoDocument type, this calls ConsumeAttributes on that transformer, passing it the Northwoods.GoWeb.GoDocument. This provides an easy-to-define mechanism for binding document properties with root element attributes.
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

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback