Sitecore.IsClone vs. Element item.IsItemClone

What is the difference between item.IsClone vs item.IsItemClone ?

+6
source share
1 answer

item.IsClone performs a quick check of the cloning relationship for the context language.

item.IsItemClone little trickier; it will also check the current language, but if the cloning relationship is not found, it will be checked again for all other language versions. In addition, the result of this property is cached in the DataCache.

I think in most cases you are better off using IsItemClone .

+8
source

Source: https://habr.com/ru/post/927801/


All Articles