共用方式為


SPFieldCalculated.DisplayFormat Property

Gets or sets the number format that is displayed in the field.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property DisplayFormat As SPNumberFormatTypes
    Get
    Set
'Usage
Dim instance As SPFieldCalculated
Dim value As SPNumberFormatTypes

value = instance.DisplayFormat

instance.DisplayFormat = value
public SPNumberFormatTypes DisplayFormat { get; set; }

Property Value

Type: Microsoft.SharePoint.SPNumberFormatTypes
A SPNumberFormatTypes value that specifies a number format.

See Also

Reference

SPFieldCalculated Class

SPFieldCalculated Members

Microsoft.SharePoint Namespace