This document is archived and information here might be outdated.  Recommended version.


IVersionInfo.Ancestors Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IVersionInfo.Ancestors Property

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

IVersionInfo Interface