Edytuj

Udostępnij za pośrednictwem


ListDataFormat.MaxCharacters Property

Definition

Returns an Integer containing the maximum number of characters allowed in the ListColumn object if the Type property is set to xlListDataTypeText or xlListDataTypeMultiLineText. Returns -1 for columns whose Type property is set to a non-text value. Read-only Integer.

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

Property Value

Remarks

This property is used only for lists that are linked to a SharePoint site.

In Microsoft 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.

Applies to