GoDiagram Web Reference
ParentObject Property

Gets the current parent object when consuming or generating the body of an element.
Syntax
'Declaration
 
Public ReadOnly Property ParentObject As Object
public object ParentObject {get;}

Property Value

This is just the top Object on the ObjectStack, or null if the stack is empty.
Remarks
This property is useful when nested calls to Allocate (and ConsumeAttributes) need to look at the parent object to decide whether an existing child object should be returned instead of allocating a new one.
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

GoXmlReaderWriterBase Class
GoXmlReaderWriterBase Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback