Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the view with the specified view identifier.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function GetById ( _
guidId As Guid _
) As View
'Usage
Dim instance As ViewCollection
Dim guidId As Guid
Dim returnValue As View
returnValue = instance.GetById(guidId)
public View GetById(
Guid guidId
)
Parameters
guidId
Type: System.GuidThe view identifier of the view to return.
Return value
Type: Microsoft.SharePoint.Client.View
Returns a View instance representing the view with the specified view identifier.
Exceptions
Exception | Condition |
---|---|
[System.ArgumentException] | No views in the view collection with the specified view identifier. Error code: -2147024809. |
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |