Table of contents
Collapse the table of content
Expand the table of content

MaxLength Property

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Specifies the maximum number of characters a user can enter in a TextBox or ComboBox. Syntaxobject. MaxLength [= Long ] The MaxLength property syntax has these parts:

objectRequired. A valid object.
LongOptional. An integer indicating the allowable number of characters.

Remarks Setting the MaxLength property to 0 indicates there is no limit other than that created by memory constraints.

© 2018 Microsoft