Share via


HtmlEdit.MaxLength Property

Gets the maximum length of the content of this edit control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assemblies:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  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 with get 
override MaxLength : int with get
function get MaxLength () : int

Property Value

Type: Int32
The maximum length of the content of this edit control.

.NET Framework Security

See Also

Reference

HtmlEdit Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace