Свойство List.DefaultDisplayFormUrl
Gets or sets a value that specifies the location of the default display form for 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 Property DefaultDisplayFormUrl As String
Get
Set
'Применение
Dim instance As List
Dim value As String
value = instance.DefaultDisplayFormUrl
instance.DefaultDisplayFormUrl = value
public string DefaultDisplayFormUrl { get; set; }
Значение свойства
Тип: System.String
Returns a String instance representing the location of the default display form for the list.
Исключения
Исключение | Условие |
---|---|
[Microsoft.SharePoint.SPException] | Value is changed, and Client.PageType of the specified page is not DisplayForm or the list does not support changes to the default display form. Error code: -2146232832. |
[System.ArgumentException] | Value is changed, and the specified display form does not exist. Error code: -2147024809. |
Замечания
It must not be пустая ссылка (Nothing в Visual Basic). It must not be empty. The client must set a server-relative URL and the server must return a site-relative URL.