WinEdit.MaxLength Property

Gets the maximum number of characters that can be typed into this edit control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property MaxLength As Integer
public virtual int MaxLength { get; }
public:
virtual property int MaxLength {
    int get ();
}
abstract MaxLength : int
override MaxLength : int
function get MaxLength () : int

Property Value

Type: System.Int32
The maximum number of characters that can be typed into this edit control.

.NET Framework Security

See Also

Reference

WinEdit Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace