List.Views 属性

Gets a value that specifies the collection of all public views on the list and personal views of the current user on the list.

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)

语法

声明
Public ReadOnly Property Views As ViewCollection
    Get
用法
Dim instance As List
Dim value As ViewCollection

value = instance.Views
public ViewCollection Views { get; }

属性值

类型:Microsoft.SharePoint.Client.ViewCollection
Returns a ViewCollection instance representing the collection of all public views on the list and personal views of the current user on the list.

异常

异常 条件
[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

备注

It must not be 空引用(无 在 Visual Basic 中).

另请参阅

引用

List 类

List 成员

Microsoft.SharePoint.Client 命名空间