GoDiagram Web Reference
GrandParentObject Property

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

Property Value

This is the Object just under the top one on the ObjectStack, or null if the stack is empty or has only one object in it.
Remarks
This property is useful when nested calls to Allocate (and ConsumeAttributes) need to look at the parent object of the parent object to decide whether an existing (grand-)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