List.Views - Propriété
Gets a value that specifies the collection of all public views on the list and personal views of the current user on the list.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public ReadOnly Property Views As ViewCollection
Get
'Utilisation
Dim instance As List
Dim value As ViewCollection
value = instance.Views
public ViewCollection Views { get; }
Valeur de propriété
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.
Exceptions
Exception | Condition |
---|---|
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |
Remarques
It must not be une référence Null (Rien dans Visual Basic).