sitecore中item.Axes.GetDescents()和item.Axes.selectitems()之间的根本区别是什么

sitecore中item.Axes.GetDescents()和item.Axes.selectitems()之间的根本区别是什么,sitecore,sitecore8,Sitecore,Sitecore8,sitecore中的item.Axes.getDescents()和item.Axes.selectitems()之间的基本/性能差异是什么?item.Axes.getDescents()使用sitecore API获取项的所有后代。它调用item.Children,然后递归地为每个子项调用Children.Children。它将所有这些项添加到一个数组中 item.Axes.Selectitems(字符串查询)在当前项的上下文中执行传入参数的Sitecore查询 所以这两种方法完全不同。

sitecore中的
item.Axes.getDescents()
item.Axes.selectitems()
之间的基本/性能差异是什么?

item.Axes.getDescents()
使用sitecore API获取
项的所有后代。它调用
item.Children
,然后递归地为每个子项调用
Children.Children
。它将所有这些项添加到一个数组中

item.Axes.Selectitems(字符串查询)
在当前项的上下文中执行传入参数的Sitecore查询

所以这两种方法完全不同。