IAssetAncestorEditionIds Property |
Gets the collection of SourceEditionId strings of all ancestor editions of the content item.
Assets are connected as Source Editions when they are edited in the CMS and saved using Save As.
Namespace: Ingeniux.CMS
if(session.Site.Asset("a/100").AncestorEditionIds.Any(a => a.SourceEditionId == "a/100")){ //Additional Actions }