加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

c# – contenttypeorder和uniquecontenttypeorder之间的区别

发布时间:2020-12-15 21:11:41 所属栏目:百科 来源:网络整理
导读:SPfolder.ContenttypeOrder和SPFolder.UniqueContentTypeOrder有什么区别? 为什么有时UniqueContentTypeOrder为空? 如何将附加到文件夹的contenttypes附加到此文件夹中并按顺序显示?我想通过使用UniqueContentTypeOrder,但有时它被设置为null? 谢谢 解决
SPfolder.ContenttypeOrder和SPFolder.UniqueContentTypeOrder有什么区别?

为什么有时UniqueContentTypeOrder为空?

如何将附加到文件夹的contenttypes附加到此文件夹中并按顺序显示?我想通过使用UniqueContentTypeOrder,但有时它被设置为null?

谢谢

解决方法

UniqueContentTypeOrder用于定义文件夹的自定义顺序. UniqueContentTypeOrder可以设置为null以回退到ContentTypeOrder(默认值).这意味着当UniqueContentTypeOrder为null时,您应该回退到ContentTypeOrder.

有关更多信息,请参见http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfolder.uniquecontenttypeorder(office.12).aspx和http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfolder.contenttypeorder(v=office.12).aspx.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读