IExpressEntity::ParentThe immediate parent entity of the eXpress entity as an IDispatch pointer.
This property is read/write.
Syntax
Property ValueThe immediate parent entity of the current eXpress entity.
Error codesThe possible return values include E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
RemarksThis 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 |