语言

ListDataFormat.MaxCharacters 属性

定义

如果属性Type设置为 xlListDataTypeText 或 xlListDataTypeMultiLineText,则返回包含对象中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 网站上的列表来设置这些属性。

适用于