Sharepoint列表包含6个视图。
我正在通过列表视图查询过滤项目的sharepoint页面。
如何使用客户端对象模型获取当前视图或查看标题?
答案 0 :(得分:2)
您可以这样做:
Dim objmyList As SP.List = g_objCore.Security.Web.Lists.GetByTitle(“**Your List Name*”)
Dim objmyView As SP.View = objmyList.Views.GetByTitle(“*Your View Name*”)