_OlkTextBox.MaxLength Property
Returns or sets an Integer (int in C#) value that specifies the maximum number of characters for the Value of this control. Read/write.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Property MaxLength As Integer
Get
Set
'Usage
Dim instance As _OlkTextBox
Dim value As Integer
value = instance.MaxLength
instance.MaxLength = value
[DispIdAttribute()]
int MaxLength { get; set; }
Property Value
Type: System.Int32
Remarks
The default value is zero, which only means that no maximum length for the value has been defined for this control. A maximum length may still be in place based on available memory or other factors.