SPFieldUrl.DisplayFormat property
Gets or sets a value that determines whether the field is displayed as an image or as a hyperlink.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property DisplayFormat As SPUrlFieldFormatType
Get
Set
'Usage
Dim instance As SPFieldUrl
Dim value As SPUrlFieldFormatType
value = instance.DisplayFormat
instance.DisplayFormat = value
public SPUrlFieldFormatType DisplayFormat { get; set; }
Property value
Type: Microsoft.SharePoint.SPUrlFieldFormatType
A SPUrlFieldFormatType value that specifies the type of format.
Remarks
If you set the DisplayFormat property, your must call the Update for changes to take effect in the database.