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 > IVersionEdit Interface > IVersionEdit.CommonAncestorVersion Property (ArcObjects .NET 10.5 SDK) |
The common ancestor of this version and the reconcile version.
[Visual Basic .NET] Public ReadOnly Property CommonAncestorVersion As IVersion
[C#] public IVersion CommonAncestorVersion {get;}
[C++]
HRESULT get_CommonAncestorVersion(
IVersion** ancestorVersion
);
[C++]
Parameters ancestorVersion [out, retval]
ancestorVersion is a parameter of type IVersion
The CommonAncestorVersion method returns an IVersion of the version that the current edit version is reconciling against. The common ancestor version represents the state of the database at the time the version was created from the target version (i.e. when the two versions were identical). This provides a representation of the version which can be used to compare features or rows after the reconciliation.
The IVersion returned is not available as a workspace for editing.
This property should only be called after a Reconcile or the IVersion object will be nothing.