FieldUrl.DisplayFormat Property
Gets or sets a value that specifies the display format for the value in the field.
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Property DisplayFormat As UrlFieldFormatType
Get
Set
'Usage
Dim instance As FieldUrl
Dim value As UrlFieldFormatType
value = instance.DisplayFormat
instance.DisplayFormat = value
[RemoteAttribute]
public UrlFieldFormatType DisplayFormat { get; set; }
Property Value
Type: Microsoft.SharePoint.Client.UrlFieldFormatType
Returns a UrlFieldFormatType instance representing the display format for the value in the field.
Exceptions
Exception | Condition |
---|---|
[Microsoft.SharePoint.SPException] | The server does not allow properties of the field to be changed. Error code: -2146232832. |