ListDataFormat.MaxCharacters 属性

定义

如果Type属性设置为 xlListDataTypeTextxlListDataTypeMultiLineText,则返回一个 Integer,其中包含对象中ListColumn允许的最大字符数。 对于 Type 属性设置为非文本值的列,返回 -1。 只读 Integer

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

属性值

注解

此属性仅用于链接到 SharePoint 网站的列表。

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

适用于