eXpress Open Architecture Reference
×
Menu
Index

IExpressEntity::Parent

 
The immediate parent entity of the eXpress entity as an IDispatch pointer.
 
This property is read/write.
 

Syntax

 
C++
 
 
HRESULT put_Parent(
                IDispatch *parent;
);
 
HRESULT get_Parent(
                IDispatch **parent;
);
 
 

Property Value

 
The immediate parent entity of the current eXpress entity.
 

Error codes

 
The possible return values include E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
 

Remarks

 
This property returns the immediate parent. It is then up to the client to attempt to cast the dispatch interface into any other interface in an attempt to determine what type of entity it is. Alternatively, to search for a particular parent interface, use the method SearchParentInterface.
 

See Also