GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace
/
GoXmlReader Class
/ ConsumeObject Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
In This Topic
ConsumeObject Method
In This Topic
This produces an object from the current element.
Syntax
C#
public
virtual
object
ConsumeObject()
Remarks
If
InvokeAllocate
produces an object, this starts reading an element by calling
InvokeConsumeAttributes
and then
InvokeConsumeBody
, passing it that object. Finally this calls
InvokeConsumeObjectFinish
. This method will return null if
InvokeAllocate
returns null. This method is called by
ConsumeRootBody
and by any other code that needs to read/construct an object. You probably do not need to override this method.
See Also
Reference
GoXmlReader Class
GoXmlReader Members
ReaderNode Property