IASEditBox::put_MaxChars

This method sets the maximum number of characters allowed in the edit box.

Syntax

HRESULT put_MaxChars( short wcchMax );

Parameters

wcchMax
[in] Short integer that contains the maximum number of characters in the edit box.

Return Values

NOERROR indicates success. E_INVALIDARG indicates that the argument exceeds the system-defined maximum for edit boxes.