ListDataFormat.DecimalPlaces 属性

定义

返回一个 Integer 值,该值表示要为 对象中的 ListColumn 数字显示的小数位数。 如果属性设置不适用于小数位数, Type 则返回 0。 如果Microsoft Windows SharePoint Services网站自动确定在 SharePoint 列表中显示的小数位数,则返回 xlAutomatic (-4105 十进制) 。 只读 Integer

public:
 property int DecimalPlaces { int get(); };
public int DecimalPlaces { get; }
Public ReadOnly Property DecimalPlaces As Integer

属性值

注解

在 Excel 中,不能设置与 对象关联的 ListDataFormat 任何属性。 但是可以通过修改 SharePoint 网站上的列表来设置这些属性。

适用于