GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlReader Class / ConsumeRootAttributes Method
the data structure representing the whole document body, the result of a call to ConsumeRootElement
In This Topic
    ConsumeRootAttributes Method
    In This Topic
    Consume attributes for the root element.
    Syntax
    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.Go.GoDocument, and if there is a GoXmlBindingTransformer registered for that GoDocument type, this calls ConsumeAttributes on that transformer, passing it the Northwoods.Go.GoDocument. This provides an easy-to-define mechanism for binding document properties with root element attributes.
    See Also