CAML query that includes folders in result set

前端 未结 7 1862
孤街浪徒
孤街浪徒 2020-12-16 01:29

I\'m trying to write a CAML query that executes against a specific SPList, scoped to a specific folder, recursive from that point, and returns all ListItems (which meet a cr

7条回答
  •  情话喂你
    2020-12-16 02:22

    You could try basing your caml query on the Folder Content Type instead,

    Folder
    

    whilst keeping the

    Query.ViewAttributes = "Scope=\"RecursiveAll\""; 
    

提交回复
热议问题