List.DefaultEditFormUrl - Propriété
Gets or sets a value that specifies the URL of the edit form to use for list items in 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 Property DefaultEditFormUrl As String
Get
Set
'Utilisation
Dim instance As List
Dim value As String
value = instance.DefaultEditFormUrl
instance.DefaultEditFormUrl = value
public string DefaultEditFormUrl { get; set; }
Valeur de propriété
Type : System.String
Returns a String instance representing the URL of the edit form to use for list items in the list.
Exceptions
Exception | Condition |
---|---|
[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. |
Remarques
It must not be une référence Null (Rien dans Visual Basic). It must not be empty. The client must set a server-relative URL and the server must return a site-relative URL.