InterfaceDef Ancestor Collection

See Also

This collection specifies the one base interface from which this interface derives.

Collection descriptor Descriptor value
Relationship Type Interface-InheritsFrom-Interface
Source Is Origin Yes
Minimum Collection Size One
Maximum Collection Size One
Sequenced Collection No
Deletes Propagated No
Destinations Named No
Case Sensitive Names Not applicable
Unique Names Not applicable

Syntax

Set variable = object.Ancestor( index )

The Ancestor collection syntax has the following parts.

Part Description
variable A variable declared as an InterfaceDef object. Receives the specified base interface definition.
object An object expression that evaluates to an InterfaceDef object.
index An integer index that identifies which element in the collection is to be addressed. The valid range is from one to the number of elements in the collection. The number of elements in the collection is specified by object.Ancestor.Count.