List.DefaultNewFormUrl 属性
Gets or sets a value that specifies the location of the default new 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 DefaultNewFormUrl As String
Get
Set
用法
Dim instance As List
Dim value As String
value = instance.DefaultNewFormUrl
instance.DefaultNewFormUrl = value
public string DefaultNewFormUrl { get; set; }
属性值
类型:System.String
Returns a String instance representing the location of the default new form for the list.
异常
异常 | 条件 |
---|---|
[Microsoft.SharePoint.SPException] | The property is set on a user information list. Error code: -2146232832. |
[System.ArgumentException] | The specified URL is not a valid web URL or it does not have files present in it or the file present cannot render the list item. Error code: -2147024809. |
备注
It must not be 空引用(无 在 Visual Basic 中). It must not be empty. The client must set a server-relative URL and the server must return a site-relative URL.