只需加句query.ViewAttributes = "Scope='Recursive'"; 转载于:https://www.cnblogs.com/RickyYan/archive/2009/02/19/1393720.html