使用C#从文件夹内容类型获取项目 [英] Getting Items from Folder Content Type using C#

查看:80
本文介绍了使用C#从文件夹内容类型获取项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我的文件夹内容类型包含一些站点列.
我正在文档库中使用该文件夹内容类型.
我想使用C#编码获取列表的文件夹内容类型内的项目.

如果您有想法,请帮助我.

Hi,
I have folder Content type Which contains Some site columns.
i am using that Folder Content Type in Document Library.
i want to get the items inside the folder content type Of the List using C# coding.

Help me IF you have an idea.

推荐答案

充分利用 Caml Query Builder .创建查询以获取所需文件夹中的项目,然后将其复制并粘贴到C#代码中.您需要通过添加根节点View
来更改查询
Make use of Caml Query Builder. Create the query to get the items inside the required folder and then copy paste this query inside you C# code. You need to alter your query by adding a root node View
<view>
     //your actual query
</view> 



最后执行查询.



Finally execute the query.


这篇关于使用C#从文件夹内容类型获取项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆