次の方法で共有


SPFieldNumber.DisplayFormat property

Gets or sets the number of decimal places to use when displaying the field.

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

Syntax

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

value = instance.DisplayFormat

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

Property value

Type: Microsoft.SharePoint.SPNumberFormatTypes
An SPNumberFormatTypes value that specifies the number of decimals.

See also

Reference

SPFieldNumber class

SPFieldNumber members

Microsoft.SharePoint namespace