Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想以编程方式设置文档库的 Folders 属性,以在特定内容类型的文件夹中显示此视图。我检查了 SPView 类。但仍然不知道该怎么做。有人知道吗?
干杯
我发现了这个(我知道它有点晚了)但以防万一其他人想要这个:
http://manish-sharepoint.blogspot.com/2008_07_01_archive.html
list.Views[viewName].Scope = SPViewScope.Recursive; list.Update();