This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IV > IVersionInfo Interface > IVersionInfo.Ancestors Property (ArcObjects .NET 10.5 SDK) |
The version's ancestors.
[Visual Basic .NET] Public ReadOnly Property Ancestors As IEnumVersionInfo
[C#] public IEnumVersionInfo Ancestors {get;}
[C++]
HRESULT get_Ancestors(
IEnumVersionInfo** Ancestors
);
[C++]
Parameters Ancestors [out, retval]
Ancestors is a parameter of type IEnumVersionInfo
The Ancestors method is used to retrieve an IEnumVersionInfo enumeration of all the version's that are in the ancestral lineage for the current version. For example, the parent version, the grandparent version, etc. all the way back to the default version. The IEnumVersionInfo enumeration is then used to obtain an IVersionInfo object for each version.