Метод List.GetView
Returns the list view with the specified view identifier.
Пространство имен: 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 Function GetView ( _
viewGuid As Guid _
) As View
'Применение
Dim instance As List
Dim viewGuid As Guid
Dim returnValue As View
returnValue = instance.GetView(viewGuid)
public View GetView(
Guid viewGuid
)
Параметры
viewGuid
Тип: System.GuidSpecifies the view identifier.
Возвращаемое значение
Тип: Microsoft.SharePoint.Client.View
Returns a View instance representing the list view with the specified view identifier.
Исключения
Исключение | Условие |
---|---|
[System.ArgumentException] | List view does not exist. Error code: -2147024809. |
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |
Замечания
If an empty GUID is specified it must return the default view of the list.