Description
Determines whether a PBDOM_ELEMENT object is the ancestor of the PBDOM_OBJECT indicated by the method parameter.
Syntax
pbdom_element_name.IsAncestorObjectOf(pbdom_object pbdom_object_ref)
| 
                               Argument  | 
                           
                               Description  | 
                        
|---|---|
| 
                               pbdom_element_name  | 
                           
                               The name of a PBDOM_ELEMENT object  | 
                        
| 
                               pbdom_object_ref  | 
                           
                               The PBDOM_OBJECT to be tested for equality with this PBDOM_ELEMENT object  | 
                        
Return value
Boolean.
Returns true if this PBDOM_ELEMENT object is the ancestor of the specified PBDOM_OBJECT, and false otherwise.


