Northwoods.Go.Xml Assembly > Northwoods.Go.Xml Namespace > GoXmlTransformer Class : ConsumeChild Method |
Typically you would override this method to add the child to the parent in the appropriate manner, or perhaps to set a property of the parent to refer to the child object. Note that this method will not get called by ConsumeBody unless BodyConsumesChildElements is true or unless some transformer's implementation of ConsumeBody does so.
This is called by the standard implementation of ConsumeBody. By default this calls ConsumeChild on the InheritsFromTransformer, to allow another specific transformer to implement this behavior, or else calls GoXmlWriter.GoXmlReader.InvokeConsumeChild, to allow this TransformerType's base Type
to provide a default behavior.
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