Export (0) Print
Expand All
Expand Minimize

List.Views property

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public ViewCollection Views { get; }

Property value

Type: 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.

ExceptionCondition
[System.UnauthorizedAccessException]

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

It must not be a null reference (Nothing in Visual Basic).

Show:
© 2014 Microsoft