HtmlEdit.MaxLength 属性
获取此编辑控件的内容最大长度。
命名空间: Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
程序集: Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)
语法
声明
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
属性值
类型:System.Int32
此编辑控件的内容最大长度。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls 命名空间