ListDataFormat.MaxCharacters 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果Type属性设置为 xlListDataTypeText 或 xlListDataTypeMultiLineText,则返回一个 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 网站上的列表来设置这些属性。