Compartilhar via


ListDataFormat.DecimalPlaces Property

Returns an Integer value that represents the number of decimal places to show for the numbers in the ListColumn object. Returns 0 if the Type property setting is not appropriate for decimal places. Returns xlAutomatic (-4105 decimal) if the Microsoft Windows SharePoint Services site is automatically determining the number of decimal places to show in the SharePoint list. Read-only Integer.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property DecimalPlaces As Integer
    Get
'Usage
Dim instance As ListDataFormat
Dim value As Integer

value = instance.DecimalPlaces
int DecimalPlaces { get; }

Property Value

Type: System.Int32

Remarks

In Excel, you cannot set any of the properties associated with the ListDataFormat object. You can set these properties, however, by modifying the list on the SharePoint site.

See Also

Reference

ListDataFormat Interface

ListDataFormat Members

Microsoft.Office.Interop.Excel Namespace