Share via


FieldUrl.DisplayFormat property

Gets or sets a value that specifies the display format for the value in the field.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Property DisplayFormat As UrlFieldFormatType
    Get
    Set
'Usage
Dim instance As FieldUrl
Dim value As UrlFieldFormatType

value = instance.DisplayFormat

instance.DisplayFormat = value
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.

See also

Reference

FieldUrl class

FieldUrl members

Microsoft.SharePoint.Client namespace