Поделиться через


Свойство 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 пустая ссылка (Nothing в Visual Basic).

См. также

Справочные материалы

List класс

Элементы List

Пространство имен Microsoft.SharePoint.Client