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

TextLength Property

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

Returns the length, in characters, of text in the edit region of a TextBox or ComboBox. Syntaxobject. TextLength The TextLength property syntax has these parts:

objectRequired. A valid object.

Remarks The TextLength property is read-only. For a multiline TextBox, TextLength includes LF (line feed) and CR (carriage return) characters.

© 2018 Microsoft